Compartilhar via


Dialog Boxes Functions

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 functions, with a description of the purpose of each.

Programming element Description

CheckDlgButton

This inline function sets the check state of a radio button or check box in a specified dialog box.

CreateDialog

This function creates a modeless dialog box from a dialog box template resource.

CreateDialogIndirect

This function creates a modeless dialog box from a dialog box template in memory.

CreateDialogIndirectParam

This function creates a modeless dialog box from a dialog box template in memory.

CreateDialogParam

This function creates a modeless dialog box from a dialog box template resource.

DefDlgProc

This function carries out default message processing for a window procedure belonging to an application-defined dialog box class.

DialogBox

This function creates a modal dialog box from a dialog box template resource.

DialogBoxIndirect

This function is defined as a macro and creates a modal dialog box from a dialog box template in memory.

DialogBoxIndirectParam

This function creates a modal dialog box from a dialog box template in memory.

DialogBoxParam

This function creates a modal dialog box from a dialog box template resource.

DialogProc

This function is an application-defined callback function that processes messages sent to a modal or modeless dialog box.

EndDialog

This function destroys a modal dialog box, causing the system to end any processing for the dialog box.

GetDialogBaseUnits

This function returns the dialog box base units used by Windows to create dialog boxes.

GetDlgCtrlID

This function returns the identifier of the specified control.

GetDlgItem

This function retrieves the handle to a control in the specified dialog box.

GetDlgItemInt

This function translates the text of a specified control in a dialog box into an integer value.

GetDlgItemText

This function retrieves the title or text associated with a control in a dialog box.

GetNextDlgGroupItem

This function retrieves the handle to the first control in a group of controls that precedes or follows the specified control in a dialog box.

GetNextDlgTabItem

This function retrieves the handle to the first control with the WS_TABSTOP style that precedes or follows the specified control.

IsDialogMessage

This function determines whether a message is intended for the specified dialog box and, if it is, processes the message.

IsDlgButtonChecked

This inline function retrieves the check state of a radio button or check box in a specified dialog box.

MapDialogRect

This function converts, or maps, the specified dialog box units to screen units, or pixels.

MessageBeep

This function plays a waveform sound.

MessageBox

This function creates, displays, and operates a message box.

SendDlgItemMessage

This function sends a message to the specified control in a dialog box.

SetDlgItemInt

This function sets the text of a control in a dialog box to the string representation of a specified integer value.

SetDlgItemText

This function sets the title or text of a control in a dialog box.

See Also

Reference

Dialog Boxes Reference