CHtmlView::PutProperty

Call this member function to set the property associated with a given object.

void PutProperty( 
   LPCTSTR lpszProperty, 
   const VARIANT& vtValue  
); 
void PutProperty( 
   LPCTSTR lpszPropertyName, 
   double dValue  
); 
void PutProperty( 
   LPCTSTR lpszPropertyName, 
   long lValue  
); 
void PutProperty( 
   LPCTSTR lpszPropertyName, 
   LPCTSTR lpszValue  
); 
void PutProperty( 
   LPCTSTR lpszPropertyName, 
   short nValue  
);

Parameters

  • lpszProperty
    A string containing the property to set.

  • vtValue
    The new value of the property indicated by lpszProperty.

  • lpszPropertyName
    A pointer to a string containing the name of the property to set.

  • dValue
    The new value of the property.

  • lValue
    The new value of the property.

  • lpszValue
    A pointer to a string containing the new value of the property.

  • nValue
    The new value of the property.

Remarks

Applies to Internet Explorer and WebBrowser.

Requirements

Header: afxhtml.h

See Also

Reference

CHtmlView Class

Hierarchy Chart

CHtmlView::GetProperty

IWebBrowser2::PutProperty