WM MSGBOXINIT
Appearance
This message notifies the owner of the message when a non-modal message box has been created and is currently being displayed.
Syntax
param1 HWND hwnd; /* Non-modal window handle. */ param2 LONG idWindow; /* Window identity of the message box. */
Parameters
- hwnd (HWND) - input
- Non-modal window handle.
- idWindow (LONG) - input
- Window identity of the message box.
- ulReserved (ULONG) - input
- Reserved value, must be 0.
Returns
- ulReserved (ULONG) - returns
- Reserved value, must be 0.
Remarks
This message is processed within the owner's window procedure when a non-modal WinMessageBox2 is created. It is up to the owner to store the window handle returned by this function. This handle is then used to properly destroy the message box when WM_MSGBOXDISMISS is received or when the parent chooses to destroy it.