Share via


CDHtmlDialog::DDX_DHtml_CheckBox

Exchanges data between a member variable and a check box on an HTML page.

void DDX_DHtml_CheckBox( 
   CDataExchange* pDX, 
   LPCTSTR szId, 
   int& value  
);

Parameters

  • pDX
    A pointer to a CDataExchange object.

  • szId
    The value that you specified for the HTML control's ID parameter.

  • value
    The value being exchanged.

Example

// int m_nItalic;
DDX_DHtml_CheckBox(pDX, L"italic", m_nItalic);

Requirements

Header: afxdhtml.h

See Also

Reference

CDHtmlDialog Class

Hierarchy Chart

Other Resources

CDHtmlDialog Members