![]() |
CXTPTabClientWnd and the horizontal scroll bar |
Post Reply ![]() |
Author | |
d-sleeman ![]() Newbie ![]() ![]() Joined: 15 June 2006 Status: Offline Points: 5 |
![]() ![]() ![]() ![]() ![]() 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. |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |