Hi,
Is it possible to have a left-aligned scrollbar in an object of CScrollView? My object of class CScrollView is a pane in a splitter window.
Does this make a difference?
Which parameter has to be set for that?
Thanks a lot,
- Ralf
Printable View
Hi,
Is it possible to have a left-aligned scrollbar in an object of CScrollView? My object of class CScrollView is a pane in a splitter window.
Does this make a difference?
Which parameter has to be set for that?
Thanks a lot,
- Ralf
To create a left aligned scrollbar is easy. The first arg of CScrollBar::Create() is a style. Add SBS_LEFTALIGN to your style. See the VC++ help on CScrollBar, class members, Create, scroll-bar styles.
The second part is harder. In fact, it is the reason I am looking for help in this forum. CSplitterWnd likes to handle its own scrollbars, and prevents any scrollbars you add to panes from working. I will post a question about this as soon as the sysop assigns me a password.