Active控件学习一步步改进

CWnd::GetProperty--Call this member function to get the ActiveX control property specified by dwDispID.

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

参数介绍:

dwDispID

Identifies the property 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 that will receive the property value. It must match the type specified by vtProp.

返回值:

 

你可能感兴趣的:(Active)