Initially hidden pane - how to initialize |
Post Reply |
Author | ||
dennisV
Senior Member Joined: 07 October 2004 Location: Australia Status: Offline Points: 242 |
Post Options
Thanks(0)
Posted: 09 January 2005 at 6:53am |
|
I have a question - when the docking pane is initially minimized (due to its state being loaded from the registry in this way), then the following code does not work:
LRESULT CMainFrame::OnDockingPaneNotify(WPARAM wParam, LPARAM lParam) So, in that case I've added some code before that and it became something like:
if(XTP_DPN_SHOWWINDOW==wParam) This seems to work (so, both cases are covered), but first of all it seems a lot of unnecessary code, and secondly the WM_INITIALUPDATE message doesn't go through sometimes for some reason... Is there a better way to accomplish the creation of views inside docking panes that might not be initially visible? Thank you. |
||
// W7 64 Ultimate SP1
// VS 2008 // CodeJock 16.2.3 (MFC) |
||
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 |