Changing the Size of the Zoomed Help Window

When the user presses the Zoom key (KEY_AF1), the help window is resized to cover the full screen, minus the area for the system message window. The size and location of the window are the only members that are changed in the window when the window is zoomed. Window attributes, border style, border title, etc., remain unchanged.

To change the size of the help zoom window, call the set environment help zoom size function, se_helpzoomsize():

void se_helpzoomsize(rb, cb, rowq, colq)
 
int rb;
/* Row to start window on
*/
int cb;
/* Column to start window on
*/
int rowq;
/* Number of rows to make window
*/
int colq;
/* Number of columns to make window 
*/

For example, to set the zoomed help window to be the length of the full screen, but only half the width of the screen, call:

se_helpzoomsize(0, 0, vs_rowq() - 2, vs_colq()/2);

vs_rowq() and vs_colq() are functions that return the number of rows and columns on the screen, respectively.


Home Contents Previous Next