This method is called by the framework to obtain a set of predefined strings representing the possible values for a property. Override this method if your control has a property with a set of possible values that can be represented by strings. For each element added to pStringArray, you should add a that corresonds cookie element to pCookieArray. These cookie values may later be passed by the framework to the COleControl::OnGetPredefinedValue method.
Header file: | Afxctl.h |
Platforms: | H/PC 2.0, H/PC Pro |
Windows CE versions: | 2.0 and later |
Complete documentation: | Visual C++ documentation |
virtual BOOL OnGetPredefinedStrings( DISPID dispid,
CStringArray* pStringArray, CDWordArray* pCookieArray );
COleControl::OnGetPredefinedValue, COleControl::OnGetDisplayString, CStringArray, CDWordArray