The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.



Call this function in your property page's DoDataExchange function to synchronize the value of a string property that exactly matches the current selection in a list box on the property page.

      void AFXAPI DDP_LBStringExact(
   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 list 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 list box string specified by id.

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


Header: afxctl.h