Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic


Call this function in your property page's DoDataExchange function to synchronize the value of a string property with the current selection in a combo box on the property page.

void AFXAPI DDP_CBString( 
   CDataExchange* pDX, 
   int id, 
   CString& member, 
   LPCTSTR pszPropName  

Pointer to a CDataExchange object. The framework supplies this object to establish the context of the data exchange, including its direction.


The resource ID of the combo box control associated with the control property specified by pszPropName.


The member variable associated with the property page control specified by id and the property specified by pszPropName.


The property name of the control property to be exchanged with the combo box string specified by id.

This function should be called before the corresponding DDX_CBString function call.

Header: afxctl.h

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.