How to hide DockingPane totally? |
Post Reply |
Author | |
zjroland
Groupie Joined: 09 December 2006 Status: Offline Points: 42 |
Post Options
Thanks(0)
Posted: 13 December 2006 at 4:43am |
How to hide DockingPane totally, only display a Icon?
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Display icon where?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
zjroland
Groupie Joined: 09 December 2006 Status: Offline Points: 42 |
Post Options
Thanks(0)
|
in sample GUI_Gnome: CXTPDockingPane* pPaneSearch = m_paneManager.CreatePane(
IDR_PANE_SEARCH, CRect(0, 0,150, 120), xtpPaneDockLeft); m_paneManager.SetIcon(IDR_PANE_SEARCH, pIcon->GetIcon()
pPaneNew->Hide(); I only want to display search icon, hide search DockingPane totally.
|
|
zjroland
Groupie Joined: 09 December 2006 Status: Offline Points: 42 |
Post Options
Thanks(0)
|
in sample GUI_Gnome: CXTPDockingPane* pPaneSearch = m_paneManager.CreatePane(
IDR_PANE_SEARCH, CRect(0, 0,150, 120), xtpPaneDockLeft); m_paneManager.SetIcon(IDR_PANE_SEARCH, pIcon->GetIcon();
pPaneSearch->Hide(); I only want to display search icon, and hide search DockingPane totally.
|
|
zjroland
Groupie Joined: 09 December 2006 Status: Offline Points: 42 |
Post Options
Thanks(0)
|
I'd like to hide and show a CXTPDockingPane completly, so it is visible or invisible to the user (like ShowWindow). HidePane just hides the pane and shows a icon for the docking pane.
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Did you try pPane->Close() instead pPane->Hide() ?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
zjroland
Groupie Joined: 09 December 2006 Status: Offline Points: 42 |
Post Options
Thanks(0)
|
I have tried pPane->Close() , pPaneSearch is invisible completly, even icon is invisible. It's a wrong method.
any other idea?
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
I dont' undestand. what "completly" means for you and what "only icon must appear". Where this icon must appear if pane will be completly invisible?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
zjroland
Groupie Joined: 09 December 2006 Status: Offline Points: 42 |
Post Options
Thanks(0)
|
HidePane just hides the pane and shows a Tab(with a icon) for the docking pane. thus when user click tab, the pane will slide out.
|
|
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 |