CLIENTCREATESTRUCT  WQ03JN 

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 CreateWindowWE1R5Q function when creating an MDI client window.

typedef struct tagCLIENTCREATESTRUCT {  // ccs

    HANDLE hWindowMenu;

    UINT   idFirstChild;

} CLIENTCREATESTRUCT;

 

Members

hWindowMenu

Identifies the handle of the MDI application s Window menu. An MDI application can retrieve this handle from the menu of the MDI frame window by using the GetSubMenuTIZM5Q function.

idFirstChild

Specifies the child window identifier of the first MDI child window created. Windows 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.

 

See Also

CreateWindow, GetSubMenu, MDICREATESTRUCT, WM_COMMAND