Contents Index Topic Contents | ||
Previous Topic: HELPINFO Next Topic: ITEMIDLIST |
HELPWININFO
Contains the size and position of either a primary or a secondary Help window. An application can set this information by calling the WinHelp function with the HELP_SETWINPOS value.
Syntax
typedef struct { int wStructSize; int x; int y; int dx; int dy; int wMax; TCHAR rgchMember[2]; } HELPWININFO;Members
- wStructSize
- Structure size, in bytes.
- x
- X-coordinate of the upper-left corner of the window, in screen coordinates.
- y
- Y-coordinate of the upper-left corner of the window, in screen coordinates.
- dx
- Window width, in pixels.
- dy
- Window height, in pixels.
- wMax
- How to show the window. This member must be one of the following values:
SW_HIDE Hides the window and passes activation to another window. SW_MINIMIZE Minimizes the specified window and activates the top-level window in the z-order. SW_RESTORE Same as SW_SHOWNORMAL. SW_SHOW Activates a window and displays it in its current size and position. SW_SHOWMAXIMIZED Activates the window and displays it as a maximized window. SW_SHOWMINIMIZED Activates the window and displays it as an icon. SW_SHOWMINNOACTIVE Displays the window as an icon. The window that is currently active remains active. SW_SHOWNA Displays the window in its current state. The window that is currently active remains active. SW_SHOWNOACTIVATE Displays a window in its most recent size and position. The window that is currently active remains active. SW_SHOWNORMAL Activates and displays the window. Whether the window is minimized or maximized, Windows restores it to its original size and position. - rgchMember
- Name of the window.
Remarks
Windows Help divides the display into 1024 units in both the x and y directions. To create a secondary window that fills the upper-left quadrant of the display, for example, an application would specify zero for the x and y members and 512 for the dx and dy members.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.