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 ExtScrollWnd.h Collapse All
Subject Author Date
howard liu Sep 16, 2009 - 10:28 PM

I got following error when compiling a source file, anyone can advise how to solve it? Thank you.


I’m using VS2005, ProfUIS285.


Error 193 error C2661: ’CExtWFF<CExtWFFBase>::CExtWFF’ : no overloaded function takes 2 arguments c:\program files\foss software inc\prof-uis\include\extscrollwnd.h 446



CExtNCSB_Impl(


UINT nIDTemplate,


CWnd * pParentWnd,


 



bool bNcsbDelayedInitialization = false,bool bNcsbForceMiddleContainerMode = false

)


: _BTNCSBimpl( nIDTemplate, pParentWnd )


, m_pNcsbContainerHorizontal( NULL )


, m_pNcsbContainerVertical( NULL )


, m_pNcsbContainerCorner( NULL )


, m_pNcsbContainerMiddle( NULL )


, m_hWndNcsbContainerHorizontal( NULL )


, m_hWndNcsbContainerVertical( NULL )


, m_hWndNcsbContainerCorner( NULL )


, m_hWndNcsbContainerMiddle( NULL )


, m_bNcsbUse32BitScrollInfo(


, m_bNcsbHelperDestructionMode(


, m_bNcsbDelayedInitialization( bNcsbDelayedInitialization )


, m_bNcsbForceMiddleContainerMode( bNcsbForceMiddleContainerMode )


, m_bNcsbProtectMessageLoopFromMfcToolHitTesting(


, m_ptNcsbProtectMouseMoveLast( -32767, -32767 )


, m_rcNcsbCustomNcAreaSizes( -1, -1, -1, -1 )


, m_clrNcsbCustomNcAreaFill( COLORREF(-1L) )


, m_bNcsbFirstPaintMessagePassed(


, m_bNcsbForceRedrawOnMouseWheel(


, m_bNcsbCreatingContainers(


{


}


true )false )true )false )false )false )


 

Technical Support Sep 23, 2009 - 5:01 AM

Please use CExtWFF < CExtNCSB < CTreeCtrl > > instead of CExtNCSB < CExtWFF < CTreeCtrl > >.

Technical Support Sep 18, 2009 - 3:43 AM

Where are you using the CExtNCSB and CExtWFF template classes in your project? Please provide us with more detailed compiler output?

howard liu Sep 21, 2009 - 9:30 PM

Thanks for your reply, there is one place CExtNCSB and CExtWFF template classes used in my project, in class declaration as following:



class



GEXUTILSAPI CVNTITreeCtrl : public CExtNCSB < CExtWFF<CTreeCtrl> > { . .. } , the compiler error is: Error 135 error C2661: ’CExtWFF<CExtWFFBase>::CExtWFF’ : no overloaded function takes 2 arguments c:\program files\foss software inc\prof-uis\include\extscrollwnd.h 446

Please help, thanks.