DDX_OCText
TRY
TOC
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

DDX_OCText

The DDX_OCText function manages the transfer of CString data between a 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.

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

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.

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

Header: afxdisp.h

Show:
© 2016 Microsoft