COleControl::OnGetDisplayString
Called by the framework to obtain a string that represents the current value of the property identified by dispid.
virtual BOOL OnGetDisplayString(
DISPID dispid,
CString& strValue
);
Параметры
dispid
The dispatch ID of a property of the control.strValue
A reference to a CString object through which a string will be returned.
Возвращаемое значение
Nonzero if a string has been returned in strValue; otherwise 0.
Заметки
Override this function if your control has a property whose value cannot be directly converted to a string and you want the property's value to be displayed in a container-supplied property browser.
Требования
Header: afxctl.h