共用方式為


CDHtmlDialog::DDX_DHtml_SelectValue

Gets or sets the value of a list box entry (based on the current index) on an HTML page.

void DDX_DHtml_SelectValue( 
   CDataExchange* pDX, 
   LPCTSTR szId, 
   CString& 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

// CString m_strBlurDir;
DDX_DHtml_SelectValue(pDX, L"blurDir", m_strBlurDir);

Requirements

Header: afxdhtml.h

See Also

Reference

CDHtmlDialog Class

Hierarchy Chart