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 while compiling my project Collapse All
Subject Author Date
Saroj Acharya Feb 22, 2005 - 3:33 PM

Hi,


I downloaded the latest V2.30 and try to compile my project MBCS Debug and found that it gives the following error:


ManagedTabPageContainer.h(62) : error C2061: syntax error : identifier ’CExtTabsWndImpl’


The code where it goes an error is listed here:


virtual CExtTabWnd* OnTabWndGetTabImpl()


{


return new CExtTabsWndImpl < CManagedTabWnd >;


}


I appreciate your help.


Saroj

Technical Support Feb 23, 2005 - 2:08 AM

Please rename the CExtTabsWndImpl class to CExtTWPC:

 virtual CExtTabWnd* OnTabWndGetTabImpl()
{
            return new CExtTWPC < CManagedTabWnd >;
}

You should not experience this problem after that.

Saroj Acharya Mar 4, 2005 - 10:08 AM


Hi Tech Support,


That worked fine but I am having another set of compilation error. Could you please help me with this one as well.


Line where I get this error is highlighted. Thanks for your help.


Saroj


 


if( g_PaintManager->GetCb2DbTransparentMode(this) )


{


CExtPaintManager::stat_ExcludeChildAreas(


dc,


GetSafeHwnd(),


CExtPaintManager::stat_DefExcludeChildAreaCallback


);


g_PaintManager->PaintDockerBkgnd( dc, this);


} // if( g_PaintManager->GetCb2DbTransparentMode(this) )


else


dc.FillSolidRect( &rcClient, g_PaintManager->GetColor( CExtPaintManager::CLR_3DFACE_OUT) );


 


error C2661: ’CExtPaintManager::PaintDockerBkgnd’ : no overloaded function takes 2 arguments


error C2661: ’CExtPaintManager::PaintDockerBkgnd’ : no overloaded function takes 2 arguments

Technical Support Mar 4, 2005 - 11:56 AM

The CExtPaintManager::PaintDockerBkgnd() method has now a new first boolean parameter which should be set to true if you paints the client area of the window, i.e. you are handling WM_PAINT or WM_ERASEBKGND messages or simply using CClientDC. This parameter should be set to false if you paints any non-client area of the window, i.e. you are handling WM_NCPAINT message or simply using CWindowDC. This improvement of the CExtPaintManager::PaintDockerBkgnd() method is required for painting valid solid gradients in the Office 2003 and Visual Studio 2005 themes both in the client and non-client window areas.