This function returns the position to which a window is minimized.

#define INCL_WINFRAMEMGR /* Or use INCL_WIN, INCL_PM, */
#include <os2.h>

HWND       hwnd;  /*  Frame-window handle. */
PSWP       pswp;  /*  Set window position structure. */
PPOINTL    pptl;  /*  Preferred position. */
BOOL       rc;    /*  Success indicator. */

rc = WinGetMinPosition(hwnd, pswp, pptl);


[Back] [Next]