다음을 통해 공유


DDP_LBString

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

void AFXAPI DDP_LBString( 
   CDataExchange* pDX, 
   int id, 
   CString& member, 
   LPCTSTR pszPropName  
);

매개 변수

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

  • id
    The resource ID of the list box control associated with the control property specified by pszPropName.

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

  • 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_LBString function call.

요구 사항

Header: afxctl.h

참고 항목

참조

DDP_LBStringExact

DDP_LBIndex

COleControl::DoPropExchange

DDX_LBString

개념

MFC 매크로 및 전역