Sets the control property specified by dwDispID.
virtual BOOL AFX_CDECL SafeSetProperty( DISPID dwDispID, VARTYPE vtProp, ... );
Identifies the dispatch ID of the property or method, found on the control's IDispatch interface, to be set.
Specifies the type of property to be set. For possible values, see the Remarks section for COleDispatchDriver::InvokeHelper.
A single parameter of the type specified by vtProp.
Nonzero if successful; otherwise zero.
Unlike SetProperty and SetPropertyV, if an error is encountered (such as trying to set a nonexistent property), no exception is thrown.
Header: afxocc.h