Google Answers Logo
View Question
 
Q: MFC Splittler Windows and Scrollbars ( No Answer,   0 Comments )
Question  
Subject: MFC Splittler Windows and Scrollbars
Category: Computers > Programming
Asked by: rus200-ga
List Price: $40.00
Posted: 26 Jul 2005 09:25 PDT
Expires: 25 Aug 2005 09:25 PDT
Question ID: 548066
I have a Splitter Window divided into two CScrollViews, one on top of
the other.  I want the two views to share the horizontal scrollbar in
the bottom view, and the horizontal scrollbar in the top view to be
hidden. I also want the bottom view to have a vertical scrollbar.  I'm
looking for any sort of solution.

Here's a screenshot of what I have so far:

http://tinyurl.com/b9fdc

I have tried two methods.

In the first method I used the scrollbars from within the scrollviews.
 In the screenshot, I used EnableScrollBar(SB_HORZ, ESB_DISABLE_BOTH)
to disable the scrollbar in the top view. However, I need to *hide*
it, and ShowScrollBar(WS_HORZ, FALSE) is not working.

In the second method, I called SetScrollStyle(WS_HSCROLL) from the splitter
window object, which eliminated the horizontal scrollbar in the top
view.  Great! However, now I can't get the vertical scrollbar in the
bottom view to appear, and that is essential.

Thanks!
Rus200
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy