共用方式為


Dialog Boxes Messages

A version of this page is also available for

Windows Embedded CE 6.0 R3

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

Reference

Dialog Boxes Reference