Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

The following table shows the dialog boxes messages, with a description of the purpose of each.

Programming element Description

DM_GETDEFID

This message is sent by an application to retrieve the identifier of the default push button control for a dialog box.

DM_SETDEFID

This message is sent by an application to change the identifier of the default push button for a dialog box.

WM_CTLCOLORDLG

This message is sent to a dialog box before Windows draws the dialog box.

WM_GETDLGCODE

This message is sent to the dialog box procedure associated with a control.

WM_INITDIALOG

This message is sent to the dialog box procedure immediately before a dialog box is displayed.

WM_NEXTDLGCTL

This message is sent to a dialog box procedure to set the keyboard focus to a different control in the dialog box.

See Also