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 » Scroll bars in CExtControlBar and CExtTabWnd Collapse All
Subject Author Date
Adrian M May 9, 2005 - 4:35 PM

Hi,


How to show scroll bars in a CExtControlBar that hosts a dialog box? I have such a control bar that works fine, except that no matter what size it is, no scroll bars are shown.


Also, I have several CListCtrl derived objects as children of a tab window. When I resize the window, the scroll bars are displayed, but they are disabled. The same control shown in a dialog box shows the scroll bars.


Thanks,


Adrian

Technical Support May 11, 2005 - 10:04 AM

It is not enough to show scroll bars to make your dialog scrollable. The CFormView class includes required implementation of the scrollable form and can be used without a CDocument object attached.

Adrian M May 11, 2005 - 11:01 AM

I understand the dialog box problem.


How about the CListCtrl hosted in one of the tabs of the tab controls? Normally, when it is resized (if it has the right styles), it handles its own scroll bars, but inside the tab, the scroll bars are visible but always disabled. The CListCtrl is not inside a dialog, its a direct child of the tab controls.


Adrian

Technical Support May 12, 2005 - 3:57 AM

We do not see any link between list view control’s scroll bars and its parent windows and may guess that the problem is hidden somewhere else. So, we need more details about your application. Of course, if you send us a project that demonstrates the problem, that would speed up the process.