Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Docking Pane
  New Posts New Posts RSS Feed - Do I have to keep reissuing  RecalcLayout?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Do I have to keep reissuing RecalcLayout?

 Post Reply Post Reply
Author
Message
stuc View Drop Down
Groupie
Groupie


Joined: 05 May 2011
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote stuc Quote  Post ReplyReply Direct Link To This Post Topic: Do I have to keep reissuing RecalcLayout?
    Posted: 13 July 2011 at 4:20am


I have a picturebox along the top of the screen with several docking windows underneath (mdi).

Inside of dockingpaneManager_GetclientBordersWidth() I have  a Top = menustrip.height

This works perfectly.

The problem I have is if I do a msgbox() after the ok is clicked the panes ignore the getclientborders and disappear under the picturebox along the top of the window.

Im finding that I have to issue a RecalcLayout() after the mgsbox command,  which works but its not very elegant on screen(screen flickers on redraw)

Is there a work around or am I doing something wrong ?


Bit more info:
DockingPaneManager.RedrawPanes can also be used to redraw the screen but it still flickers.



/Stu
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: 14 July 2011 at 1:28am
Hi,

Please attach sample that show such problem.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.172 seconds.