(0) exportieren Drucken
Alle erweitern
MFC
TRY
Erweitern Minimieren

DDX_Check

The DDX_Check function manages the transfer of int data between a check box control in a dialog box, form view, or control view object and a int data member of the dialog box, form view, or control view object.


void AFXAPI DDX_Check(
   CDataExchange* pDX,
   int nIDC,
   int& 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 resource ID of the check box control associated with the control property.

value

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

When DDX_Check is called, value is set to the current state of the check box control. For a list of the possible state values, see BM_GETCHECK in the Windows SDK.

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

Header: afxdd_.h

Community-Beiträge

HINZUFÜGEN
Microsoft führt eine Onlineumfrage durch, um Ihre Meinung zur MSDN-Website zu erfahren. Wenn Sie sich zur Teilnahme entscheiden, wird Ihnen die Onlineumfrage angezeigt, sobald Sie die MSDN-Website verlassen.

Möchten Sie an der Umfrage teilnehmen?
Anzeigen:
© 2014 Microsoft