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 » Problem with CExtWRB Collapse All
Subject Author Date
Mike Van Duzee Mar 28, 2006 - 7:56 AM

I have a control bar with a CExtWRB< CTreeCtrl > in it and another with a CExtWRB< CListCtrl >. When the control bar gets resized the tree and list controls don’t display scroll bars. If I take the CExtWRB off, everything works fine.

Technical Support Mar 28, 2006 - 9:08 AM

The CExtWRB template class implements a thin border in the non-client area of the window. This class completely recomputes and repaints the non-client area. That is why the scrollbar-like areas in the non-client area are gone. So, use CExtWRB for non-scrollable windows only. If you need a thin border around the tree view control, just use a CProfStudio thin frame class available in the ProfStudio sample. This class implements exactly the same thin border but it is a standalone window.