Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - CXTPTabClientWnd and the horizontal scroll bar
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPTabClientWnd and the horizontal scroll bar

 Post Reply Post Reply
Author
Message
d-sleeman View Drop Down
Newbie
Newbie
Avatar

Joined: 15 June 2006
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote d-sleeman Quote  Post ReplyReply Direct Link To This Post Topic: CXTPTabClientWnd and the horizontal scroll bar
    Posted: 10 April 2007 at 10:32pm
I have a project that uses the CXTPTabClientWnd to display multiple documents using views derived from CScrollView.

Each of my views inside of the tabs are larger than the client area and have both vertical and horizontal scroll bars in most cases. When I have multiple tabs open and maximized (the default behaviour) and I switch between tabs with the mouse, the vertical scroll position is maintained, but the horizontal scroll position is reset to 0.

Now it gets weird. If I tile or cascade the windows, change the horizontal scroll position and then maximize them again, switching between tabs does maintain the horizontal scroll position.

Does anyone have a clue what's happening here? I have checked the code in my view where scrolling is performed and none of my own functions are called when the tabs switch. Any help would be greatly appreciated.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.063 seconds.