求CWnd::Setproperty()用法,说明

来源:百度知道 编辑:UC知道 时间:2024/06/07 16:58:47
求CWnd::Setproperty()用法,说明

COleControlSite::SetProperty

Sets the control property specified by dwDispID.

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

Parameters
dwDispID
Identifies the dispatch ID of the property or method, found on the control's IDispatch interface, to be set.

vtProp
Specifies the type of property to be set. For possible values, see the Remarks section for COleDispatchDriver::InvokeHelper.
我在msdn内并没有找到你说的这个类下的函数,是不是这个函数是个自定义的成员函数?

CWnd::SetProperty

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

Parameters

dwDispID

Identifies the property to be set. This value is usually supplied by Component Gallery.

vtProp

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

...

A single paramete