Discussion:
wxSplitterWindow and wxScrollBar
Ralf Edrich
2004-01-06 10:38:31 UTC
Permalink
Hi,

I have a SplitterWindow with a wxTreeCtrl on the left
and a wxGrid on the right. By expanding the tree, the wxGrid
is growing. When reaching the border of the Window there
appears Scrollbars for left and right and they can be scrolled
independent. This I want to avoid - so that there is only ONE
SB visible which controls both windows.

Does anyone has an idea how to do that? I am working with XP.

TIA,

Ralf





---------------------------------------------------------------------
Please read http://www.wxwindows.org/mlhowto.htm before posting.

To unsubscribe, e-mail: wx-users-***@lists.wxwindows.org
For additional commands, e-mail: wx-users-***@lists.wxwindows.org
Robin Dunn
2004-01-06 17:03:10 UTC
Permalink
Post by Ralf Edrich
Hi,
I have a SplitterWindow with a wxTreeCtrl on the left
and a wxGrid on the right. By expanding the tree, the wxGrid
is growing. When reaching the border of the Window there
appears Scrollbars for left and right and they can be scrolled
independent. This I want to avoid - so that there is only ONE
SB visible which controls both windows.
Does anyone has an idea how to do that? I am working with XP.
There is some code in the gizmos contrib that can do things like that.
Look at the splittree.[h|cpp] files.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!



---------------------------------------------------------------------
Please read http://www.wxwindows.org/mlhowto.htm before posting.

To unsubscribe, e-mail: wx-users-***@lists.wxwindows.org
For additional commands, e-mail: wx-users-***@lists.wxwindows.org
Loading...