A split button of MFC can't be builded in Rhino V5?

I can’t use CSplitButton variable,

define _WIN32_WINNT RHINO_V5_WINVER <—0x500

if (_WIN32_WINNT >= 0x600) && defined(UNICODE)
class CSplitButton : public CButton

So, The class of CSplitButton isn’t a definition.
Does Anyone meet this problem ?

Rhino 5 runs on Windows XP or greater. The MFC CSplitButton class is not defined in Rhino C++ plug-in projects because this control is not included with Windows XP.

Does this help?

1 Like

I got it.
Thank you.