WinQueryWindowPos (1.2)
◄Function Group► ◄Up► ◄Next► ◄Previous►
────────────────────────────────────────────────────────────────────────────
#define INCL_WINMESSAGEMGR
BOOL WinQueryWindowPos(hwnd, pswp)
HWND hwnd; /* handle of the window */
PSWP pswp; /* address of the structure for window information */
The WinQueryWindowPos function retrieves a window's size and position.
Parameter Description
────────────────────────────────────────────────────────────────────────────
hwnd Identifies the window to get the size and position of.
pswp Points to an SWP structure that receives the window's size and
position.
Return Value
The return value is TRUE if the function is successful or FALSE if an error
occurs.
See Also
WinSetWindowPos, SWP
♦