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 General Discussion » CExtControlBar Collapse All
Subject Author Date
Shailesh Nikam Jan 18, 2007 - 11:26 PM

Hi,

I want to create view inside CExtControlBar using CFrameWnd::CreateView?

oR

How can I create splitter window inside CExtControlBar?

Thanks in advance,
Shailesh

Shailesh Nikam Jan 19, 2007 - 3:43 AM

Compilation error is as below...

error C2664: ’bool CExtWndShadow::Paint(CExtPaintManager *,CDC &,const CRect &,const CRect &,const CRect &,UINT,UINT,UINT,bool,bool,bool,HWND,HWND,LPCRECT)’ : cannot convert parameter 1 from ’CExtMemoryDC’ to ’CExtPaintManager *’
No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called

Technical Support Jan 19, 2007 - 5:02 AM

The new CExtPaintManager * parameter of this method is the source of the error. You should pass the g_PaintManager.GetPM() expression into this parameter.

Shailesh Nikam Jan 19, 2007 - 3:38 AM

program is giving compilation error for function call

_shadow.Paint()

Technical Support Jan 19, 2007 - 4:57 AM

This method’s signature was changed several versions ago. Please check the latest version and correct the method’s parameters list.

Technical Support Jan 19, 2007 - 3:06 AM

Here is a project that demonstrates control bars with a form view and a scroll view:

test_views_in_cb.zip