Udostępnij za pośrednictwem


Standard Dialog Data Exchange Routines

This topic lists the standard dialog data exchange (DDX) routines used for common MFC dialog controls.

Note

The standard dialog data exchange routines are defined in the header file afxdd_.h. However, applications should include afxwin.h.

DDX Functions

DDX_CBIndex

Initializes or retrieves the index of the current selection of a combo box control.

DDX_CBString

Initializes or retrieves the current contents of the edit field of a combo box control.

DDX_CBStringExact

Initializes or retrieves the current contents of the edit field of a combo box control.

DDX_Check

Initializes or retrieves the current state of a check box control.

DDX_Control

Subclasses a given control within a dialog box.

DDX_DateTimeCtrl

Initializes or retrieves date and/or time data of a date and time picker control.

DDX_IPAddress

Initializes or retrieves the current value of an IP address control.

DDX_LBIndex

Initializes or retrieves the index of the current selection of a list box control.

DDX_LBString

Initializes or retrieves the current selection within a list box control.

DDX_LBStringExact

Initializes or retrieves the current selection within a list box control.

DDX_MonthCalCtrl

Initializes or retrieves the current value of a month calendar control.

DDX_Radio

Initializes or retrieves the 0-based index of the radio control that is currently checked within a radio control group.

DDX_Scroll

Initializes or retrieves the current position of a scroll control's thumb.

DDX_Slider

Initializes or retrieves the current position of a slider control's thumb.

DDX_Text

Initializes or retrieves the current value of an edit control.

See Also

Concepts

MFC Macros and Globals

Other Resources

Standard Dialog Data Validation Routines