What Are the Variable Types for the DDX Value Property?

HomeOverviewHow Do ITutorial

The following table shows the type of DDX Value variables ClassWizard initially provides. To create additional variable types, see MFC Technical Note 26.

DDX Variable Types for the Value Property

Control Variable type
Edit box CString, int, UINT, long, DWORD, float, double, short, BOOL, COleDateTime, ColeCurrency
Normal check box BOOL
Three-state check box int
Radio button (first in group) int
Nonsorted list box Cstring, int
Drop-down list Cstring, int
All other list box and drop-down list types Cstring

The following additional notes apply to using DDX Value variables: