Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Docking Pane
  New Posts New Posts RSS Feed - Win7 scrollbar animation draws over expanding pane
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Win7 scrollbar animation draws over expanding pane

 Post Reply Post Reply
Author
Message
MichaelN View Drop Down
Senior Member
Senior Member


Joined: 19 September 2006
Status: Offline
Points: 112
Post Options Post Options   Thanks (0) Thanks(0)   Quote MichaelN Quote  Post ReplyReply Direct Link To This Post Topic: Win7 scrollbar animation draws over expanding pane
    Posted: 26 January 2013 at 5:37pm

In Windows 7, the CScrollView scrollbar animation conflicts with the pane animation when the pane is expanded from a tab. The scrollbar animation I'm describing is the animation that brightens it from gray to blue when the mouse passes over the bar and then dims it to gray after the mouse leaves the bar. This scrollbar animation draws the scrollbar over the expanding pane. If I mouse over the tab from outside the view (so that the mouse does not pass over the scrollbar) then the pane expands perfectly. But if I go inside the view and mouse over the scrollbar on the way to the reaching the tab, then the pane opens with the fading scrollbar drawn over top of it. What is the solution?

Michael

Back to Top
MichaelN View Drop Down
Senior Member
Senior Member


Joined: 19 September 2006
Status: Offline
Points: 112
Post Options Post Options   Thanks (0) Thanks(0)   Quote MichaelN Quote  Post ReplyReply Direct Link To This Post Posted: 26 January 2013 at 5:52pm
I found the solution: in CMyView::PreCreateWindow(), include 

  cs.style |= WS_CLIPSIBLINGS | WS_CLIPCHILDREN;

Michael
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.125 seconds.