Share via


DDX_OCTextRO

 

The DDX_OCTextRO function manages the transfer of CString data between a read-only property of an OLE control in a dialog box, form view, or control view object and a CString data member of the dialog box, form view, or control view object.

Syntax

      void AFXAPI DDX_OCTextRO(
   CDataExchange* pDX,
   int nIDC,
   DISPID dispid,
   CString& value 
);

Parameters

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

  • nIDC
    The ID of an OLE control in the dialog box, form view, or control view object.

  • dispid
    The dispatch ID of a property of the control.

  • value
    A reference to a member variable of the dialog box, form view or control view object with which data is exchanged.

Remarks

For more information about DDX, see Dialog Data Exchange and Validation.

Requirements

Header: afxdisp.h

See Also

MFC Macros and Globals
342cf3d5-b664-4938-b1b0-1c615717e0fa#_mfc_ddx_octextro