Partager via


Dialog Box Messages (Compact 2013)

3/28/2014

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

Reference

Dialog Box Reference