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


#1

I can’t use CSplitButton variable,
because

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 ?


(Dale Fugier) #2

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?


#3

I got it.
Thank you.