This topic has not yet been rated - Rate this topic

COleControlSite::GetProperty

Gets the control property specified by dwDispID.

virtual void GetProperty(
   DISPID dwDispID,
   VARTYPE vtProp,
   void* pvProp 
) const;
dwDispID

Identifies the dispatch ID of the property, found on the control's default IDispatch interface, to be retrieved.

vtProp

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

pvProp

Address of the variable that will receive the property value. It must match the type specified by vtProp.

The value is returned through pvProp.

Header: afxocc.h

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ