Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Docking Pane
  New Posts New Posts RSS Feed - Load layout finished event?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Load layout finished event?

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


Joined: 01 December 2004
Status: Offline
Points: 149
Post Options Post Options   Thanks (0) Thanks(0)   Quote JamesH Quote  Post ReplyReply Direct Link To This Post Topic: Load layout finished event?
    Posted: 02 February 2005 at 3:31pm

Is there a way to know when a layout has finished loading and all of the attach events have fired?

If I have say 10 panes created but the layout being loaded only has 8 panes how do I know I need to programmatically re-create the 2 missing panes?  (or perhaps delete the 2 windows that no longer have an associated pane?)

If there was an event that happened once the load was finished (and the attach events created by it have fired) I could figure it out in there.  Does such a thing exist or is there another way to do this?

Thanks, James.

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: 03 February 2005 at 9:42am
you can check PanesCount property
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
JamesH View Drop Down
Senior Member
Senior Member


Joined: 01 December 2004
Status: Offline
Points: 149
Post Options Post Options   Thanks (0) Thanks(0)   Quote JamesH Quote  Post ReplyReply Direct Link To This Post Posted: 03 February 2005 at 5:00pm

Thank you for the response Oleg.

Checking that count lets me know if any panes were not part of the layout.  I also keep track of the pane IDs that existed before the load and then loop through these calling FindPane to identify which panes were not part of the layout.  I can then re-create these panes.

Thanks again.

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.189 seconds.