HELPWININFOHELPWININFO*
*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_HIDEHides the window and passes activation to another window.
SW_MINIMIZEMinimizes the specified window and activates the top-level window in the z-order.
SW_RESTORESame as SW_SHOWNORMAL.
SW_SHOWActivates a window and displays it in its current size and position.
SW_SHOWMAXIMIZEDActivates the window and displays it as a maximized window.
SW_SHOWMINIMIZEDActivates the window and displays it as an icon.
SW_SHOWMINNOACTIVEDisplays the window as an icon. The window that is currently active remains active.
SW_SHOWNADisplays the window in its current state. The window that is currently active remains active.
SW_SHOWNOACTIVATEDisplays a window in its most recent size and position. The window that is currently active remains active.
SW_SHOWNORMALActivates 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.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.