Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
WinQueryMsgPos (1.2)
◄Function Group► ◄Overview► ◄Up► ◄Next► ◄Previous►
────────────────────────────────────────────────────────────────────────────
#define INCL_WINMESSAGEMGR
BOOL WinQueryMsgPos(hab, pptl)
HAB hab; /* handle of the anchor block */
PPOINTL pptl; /* address of structure for pointer position */
The WinQueryMsgPos function retrieves the pointer position, in screen
coordinates, when the last message obtained from the current message queue
was posted. To obtain the current position of the pointer, use the
WinQueryPointerPos function.
Parameter Description
────────────────────────────────────────────────────────────────────────────
hab Identifies an anchor block.
pptl Points to a POINTL structure that receives the pointer position
in screen coordinates. The pointer position is the same as that
in the ptl field of the QMSG structure.
Return Value
The return value is TRUE if the function is successful or FALSE if an error
occurs.
See Also
WinQueryPointerPos, POINTL, QMSG
♦