Print Page | Close Window

Extra (disabled) scrollbar in CXTShellListCtrl

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=8867
Printed Date: 14 November 2025 at 3:32am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Extra (disabled) scrollbar in CXTShellListCtrl
Posted By: rconn
Subject: Extra (disabled) scrollbar in CXTShellListCtrl
Date Posted: 23 November 2007 at 1:34am

When I create a CXTShellListCtrl, I always get a disabled horizontal scrollbar at the bottom of the window (visible before anything is added to the control).  It is never used; normally only the vertical scrollbar (which comes and goes as needed) appears.  When I select a List view, I get a *second* (active) horizontal scrollbar appearing above the first disabled one.  (This second scrollbar disappears when I select another view type.)

Any idea why this unused scrollbar is appearing and how to get rid of it?
 
Thanks for your help.
 
Rex Conn
JP Software



Replies:
Posted By: Oleg
Date Posted: 23 November 2007 at 1:40am
Hi,
I don't think its scrollbar from CXTShellListCtrl. Window can't have 2 horizontal scrollbars. check may be its from View/splitter


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: rconn
Date Posted: 23 November 2007 at 2:10am
It's definitely in the list control window -- I can detach the window and both scrollbars are there (see below).  (I'm not using a splitter in this window.)
 
WS_HSCROLL comes and goes in the SysListView32 window when the (second, active) scrollbar appears & disappears.  But tere's a window ("Edit" class) inside the XTPDockingPaneTabbedContainer window that always has WS_HSCROLL; I don't know if that's significant.
 
Here's what the (detached) window looks like:
 
 


Posted By: Oleg
Date Posted: 23 November 2007 at 4:42am
Still don't believe. Your Tree have to be in some view class or another container that show this scrollbar. There is no "edit" class insde XTPDockingPaneTabbedContainer. It is your additional window. Show code where you create list and attach it to pane.

-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net