WM_ENTERIDLE message

Sent to the owner window of a modal dialog box or menu that is entering an idle state. A modal dialog box or menu enters an idle state when no messages are waiting in its queue after it has processed one or more previous messages.


#define WM_ENTERIDLE                    0x0121

Parameters

wParam

This parameter can be one of the following values.

ValueMeaning
MSGF_DIALOGBOX
0

The system is idle because a dialog box is displayed.

MSGF_MENU
2

The system is idle because a menu is displayed.

 

lParam

A handle to the dialog box (if wParam is MSGF_DIALOGBOX) or window containing the displayed menu (if wParam is MSGF_MENU).

Return value

An application should return zero if it processes this message.

Remarks

You can suppress the WM_ENTERIDLE message for a dialog box by creating the dialog box with the DS_NOIDLEMSG style.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Winuser.h (include Windows.h)

See also

Reference
DefWindowProc
Conceptual
Dialog Boxes

 

 

Community Additions

ADD
Show:
© 2015 Microsoft