Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

CWnd::SetProperty

Call this member function to set the OLE control property specified by dwDispID.

void AFX_CDECL SetProperty( 
   DISPID dwDispID, 
   VARTYPE vtProp, 
   ...  
);
dwDispID

Identifies the property to be set.

vtProp

Specifies the type of the property to be set. For possible values, see the Remarks section for COleDispatchDriver::InvokeHelper.

...

A single parameter of the type specified by vtProp.

Note Note

This function should be called only on a CWnd object that represents an OLE control.

For more information about using this member function with OLE Control Containers, see the article ActiveX Control Containers: Programming ActiveX Controls in an ActiveX Control Container.

Header: afxwin.h

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.