GIDForums  

Go Back   GIDForums > Computer Programming Forums > MS Visual C++ / MFC Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 12-Jul-2005, 14:38
rusew rusew is offline
New Member
 
Join Date: Jul 2005
Posts: 1
rusew is on a distinguished road

Splitter Window and Scrollbars


Dear List,

I have a Splitter Window divided into two scrollviews, one on top of the other. Here's a www.robseward.com. I want the two views to share the horizontal scroll bar on the bottom view. I also want the bottom view to have a vertical scrollbar.

I have pretty much succeeded by overriding the OnScroll() functions, but I can't hide the scrollbar in the top view. ShowScrollBar(WS_HORZ, FALSE) is not working. Any ideas as to why it's not working or how I could hide it?

Also, I tried SetScrollStyle(WS_HSCROLL) from the splitter window, which eliminated the horizontal scrollbar in the top view, but then I couldn't get the vertical scrollbar in the bottom view.

Any suggestions? I've been tearing my hair out.

Thanks,
rusew
 
 

Recent GIDBlogToyota - 2008 September Promotion by Nihal

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 16:52.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.