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


DDP_Radio

Call this function in your control's DoPropExchange function to synchronize the value of the property with the associated property page radio button control.

void AFXAPI DDP_Radio(
   CDataExchange*pDX,
   int id,
   int &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 radio button 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 radio button control specified by id.

Заметки

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

Требования

Header: afxctl.h

См. также

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

MFC Macros and Globals

DDP_Check

DDP_Text

COleControl::DoPropExchange

DDX_Radio