![]() |
How to attach pane before is visible ? |
Post Reply
|
| Author | |
Louis
Newbie
Joined: 17 August 2005 Status: Offline Points: 19 |
Post Options
Thanks(0)
Quote Reply
Topic: How to attach pane before is visible ?Posted: 20 August 2005 at 3:55pm |
|
Is there a way to attach a pane to its child before it is made visible ? I am using layouts to save/restore command bars. When command bars are grouped (tabed) they are not made visible when the layout is loaded, only the one that was active. I need to receive some notification of the creation of the pane so I can attach it to its child even if its not visible. How can this be done ? thanks, |
|
![]() |
|
Louis
Newbie
Joined: 17 August 2005 Status: Offline Points: 19 |
Post Options
Thanks(0)
Quote Reply
Posted: 20 August 2005 at 4:34pm |
|
ok, I manage to get it work by attaching the panes just after loading the layout. The other problem I had with this approach, which I also got it to work, is that I needed the main view (SDI application) to initialise information for the childs, but when I was doing the attach in CMainFrame::OnCreate the view is not available, So I did it in view::OnInitialUpdate. If you think there is a better way let me know, seems to be working fine now. Thanks, |
|
![]() |
|
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 |