WinSetWindowUShort - Example Code

This example changes the height to which a window is restored to 100 by changing the value of a system defined window word.

#define INCL_WINWINDOWMGR
#include <OS2.H>

HWND hwnd;

/* The height to which the window is restored */
WinSetWindowUShort(hwnd,
                   QWS_CYRESTORE,
                   (USHORT)100);


[Back: WinSetWindowUShort - Related Functions]
[Next: WinSetWindowUShort - Topics]