Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » error with __EXT_MFC_NO_RIBBON_BAR Collapse All
Subject Author Date
Paul Cowan Jun 19, 2008 - 7:19 AM

I’m trying to reduce the size of the v2.83 DLL, and have enabled the  #define __EXT_MFC_NO_RIBBON_BAR line in Prof-UIS.h.  I now get two errors during the build:



..\Src\ExtPopupCtrlMenu.cpp(741) : error C2027: use of undefined type ’CExtScrollBar’


..\Src\ExtPopupCtrlMenu.cpp(2268) : error C2061: syntax error : identifier ’CExtNCSB’


 



What is the fix for this?


 

Technical Support Jun 22, 2008 - 1:34 PM

Thank you for reporting us this error. You can fix it by adding the following 3 lines at the beginning of ../Prof-UIS/Src/ExtPopupCtrlMenu.cpp

#if (!defined __EXT_SCROLLWND_H)
      #include <ExtScrollWnd.h>
#endif
You can insert these 3 lines before the #include <math.h> line.