DOC: WinHelp Function Expects a POINTS StructureLast reviewed: June 16, 1997Article ID: Q167341 |
The information in this article applies to:
SUMMARYThe Remarks documentation for the function WinHelp() regarding the fourth parameter (DWORD dWord // other info) incorrectly states:
HELP_SETPOPUP_POS Sets the position of the subsequent pop-up window. Address of a POINTS structure. The pop-up window is positioned as if the mouse cursor were at the specified point when the pop-up window is invoked.The function actually expects a POINTS structure, rather than an address to the structure. When you pass an address, a misplaced pop-up menu appears. You can pass the information to WinHelp() by using the MAKELONG macro to set the fourth parameter as follows:
dWord = MAKELONG(left,top)where the two parameters represent the desired positions of the pop-up menu.
|
Additional query words: HELP_SETPOPUP_POS WinHelp POINTS
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |