|
-
May 7th, 1999, 10:30 AM
#1
How to get a left-aligned scrollbar in CScrollView?
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
-
May 7th, 1999, 07:51 PM
#2
Re: How to get a left-aligned scrollbar in CScrollView?
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|