Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - Pane drawing error
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Pane drawing error

 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: Pane drawing error
    Posted: 24 February 2010 at 11:05am
Suppose a view has more than 1 docking pane. If one pane is open and I move the pointer onto another pane's tab, the open pane closes and the new pane opens with a piece of the view's bitmap along it's right border. This is repeatable every time. I am using Windows 7x64.
 
See the screenshot below. You can see that this is not just a transparent hole in the pane drawing. The pane picked up the view's bitmap and then moved it to the pane's open position.
 
How do I fix it?
 
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: 24 February 2010 at 10:41pm
After further study, the width of the invalid region appears to be a constant fraction of the pane width. For example, if I make the pane 4 times wider, the invalid area also is 4 times wider.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 26 February 2010 at 6:58am
Hi,
 
Add WS_CLIPCHILDREN|WS_CLIPSIBLINGS for your View and Frame.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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: 27 February 2010 at 3:23am
That did the trick. Thank you, Oleg!
 
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.077 seconds.