Dela via


CDHtmlDialog::DDX_DHtml_ElementText

Exchanges data between a member variable and any HTML element property on an HTML page.

void DDX_DHtml_ElementText( 
   CDataExchange* pDX, 
   LPCTSTR szId, 
   DISPID dispid, 
   CString& value  
); 
void DDX_DHtml_ElementText( 
   CDataExchange* pDX, 
   LPCTSTR szId, 
   DISPID dispid, 
   short& value  
); 
void DDX_DHtml_ElementText( 
   CDataExchange* pDX, 
   LPCTSTR szId, 
   DISPID dispid, 
   int& value  
); 
void DDX_DHtml_ElementText( 
   CDataExchange* pDX, 
   LPCTSTR szId, 
   DISPID dispid, 
   long& value  
); 
void DDX_DHtml_ElementText( 
   CDataExchange* pDX, 
   LPCTSTR szId, 
   DISPID dispid, 
   DWORD& value  
); 
void DDX_DHtml_ElementText( 
   CDataExchange* pDX, 
   LPCTSTR szId, 
   DISPID dispid, 
   float& value  
); 
void DDX_DHtml_ElementText( 
   CDataExchange* pDX, 
   LPCTSTR szId, 
   DISPID dispid, 
   double& value  
);

Parameters

  • pDX
    A pointer to a CDataExchange object.

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

  • dispid
    The dispatch ID of the HTML element with which you want to exchange data.

  • value
    The value being exchanged.

Requirements

Header: afxdhtml.h

See Also

Reference

CDHtmlDialog Class

Hierarchy Chart

Other Resources

CDHtmlDialog Members