Create initial hidden pane ??? |
Post Reply |
Author | |
hpesata
Groupie Joined: 16 July 2004 Status: Offline Points: 60 |
Post Options
Thanks(0)
Posted: 13 October 2005 at 4:10am |
Hi!
XTP 9.70 We have a frame-window and 3 panes. the frame-window and the panes reside in different MFC extension Dlls, and I would like to display all after the loading process is completed at once. I am saving the pane-layout and when I reload the layout the panes get visible BEFORE the frame-window gets displayed. how can I initially set the panes hidden ? any help with this would be greatly appreciated, thanx in advance! regards, Hans |
|
Barto
Groupie Joined: 27 February 2005 Location: Germany Status: Offline Points: 60 |
Post Options
Thanks(0)
|
this is how I create my Panes in CMainFrame::OnCreate() m_paneManager.CreatePane(IDR_PANE_OBJ_PROPERTIES, CRect(0, 0, 300, 120), xtpPaneDockRight)->Close(); this way they are immediately hidden. i don't see them popping up even once... |
|
hpesata
Groupie Joined: 16 July 2004 Status: Offline Points: 60 |
Post Options
Thanks(0)
|
Hi!
thanx for your reply! I cant use your approach, because my problem occurs wehn I load a docking pane layout from the registry which creates the panes. I need a way to to set the visibility state of my panes AFTER they are created either wiht CreatePane() or via the docking pane layout. regards, Hans |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
use m_paneManager.FindPane to get pointer and call pPane->Close(); to close it. |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
hpesata
Groupie Joined: 16 July 2004 Status: Offline Points: 60 |
Post Options
Thanks(0)
|
Hi Oleg!
this way the pane probably might shortly get visible and disappear after the Close() call ?! I managed it now via closing floating panes before shutding down my app. after I reload my app they appear floating again when I show them. closing a pane seems to be the only way to "hide" a pane. Hiding it doesnt make the pane-window disappear (in case of a floating pane). regards, Hans |
|
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 |