CLIENTCREATESTRUCT
The CLIENTCREATESTRUCT structure contains information about the menu and first multiple document interface (MDI) child window of an MDI client window. An application passes a pointer to this structure as the lpvParam parameter of the CreateWindow function when creating an MDI client window.
typedef struct tagCLIENTCREATESTRUCT { // ccs
HANDLE hWindowMenu;
UINT idFirstChild;
} CLIENTCREATESTRUCT;
Members
-
hWindowMenu
-
Handle to the MDI application's window menu. An MDI application can retrieve this handle from the menu of the MDI frame window by using the GetSubMenu function.
-
idFirstChild
-
Specifies the child window identifier of the first MDI child window created. The system increments the identifier for each additional MDI child window the application creates, and reassigns identifiers when the application destroys a window to keep the range of identifiers contiguous. These identifiers are used in WM_COMMAND messages sent to the application's MDI frame window when a child window is chosen from the window menu; they should not conflict with any other command identifiers.
QuickInfo
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in winuser.h.
See Also
Windows Overview, Window Structures, CreateWindow, GetSubMenu, MDICREATESTRUCT, WM_COMMAND