共用方式為


CDHtmlDialog::DDX_DHtml_SelectIndex

Gets or sets the index of a list box on an HTML page.

void DDX_DHtml_SelectIndex(
   CDataExchange* pDX,
   LPCTSTR szId,
   long& 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.

Requirements

Header: afxdhtml.h

See Also

Concepts

CDHtmlDialog Class

CDHtmlDialog Members

Hierarchy Chart