COleControl::OnGetPredefinedValue
Called by the framework to obtain the value corresponding to one of the predefined strings previously returned by an override of COleControl::OnGetPredefinedStrings.
virtual BOOL OnGetPredefinedValue(
DISPID dispid,
DWORD dwCookie,
VARIANT* lpvarOut
);
Параметры
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.
Возвращаемое значение
Nonzero if a value has been returned in lpvarOut; otherwise 0.
Требования
Header: afxctl.h