COleControl::OnGetPredefinedValue

virtual BOOL OnGetPredefinedValue( DISPID dispid, DWORD dwCookie, VARIANT FAR* lpvarOut );

Return Value

Nonzero if a value has been returned in lpvarOut; otherwise 0.

Parameters

dispid

The dispatch ID of a property of the control.

dwCookie

A cookie value previously returned by an override of COleControl::OnGetPredefinedStrings.

lpvarOut

Pointer to a VARIANT structure through which a property value will be returned.

Remarks

Called by the framework to obtain the value corresponding to one of the predefined strings previously returned by an override of COleControl::OnGetPredefinedStrings.

COleControl OverviewClass MembersHierarchy Chart

See Also   COleControl::OnGetPredefinedStrings, COleControl::OnGetDisplayString