Поделиться через


DDP_Check

Call this function in your property page's DoDataExchange function to synchronize the value of the property with the associated property page check box control.

void AFXAPI DDP_Check(
   CDataExchange*pDX,
   int id,
     int &member,
   LPCSTR 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 check 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 check box control specified by id.

Заметки

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

Требования

Header: afxctl.h

См. также

Основные понятия

MFC Macros and Globals

DDP_Radio

DDP_Text

COleControl::DoPropExchange

DDX_Check