![]() |
How to hide DockingPane totally? |
Post Reply
|
| Author | |
zjroland
Groupie
Joined: 09 December 2006 Status: Offline Points: 42 |
Post Options
Thanks(0)
Quote Reply
Topic: How to hide DockingPane totally?Posted: 13 December 2006 at 4:43am |
|
How to hide DockingPane totally, only display a Icon?
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 13 December 2006 at 6:48am |
|
Display icon where?
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
zjroland
Groupie
Joined: 09 December 2006 Status: Offline Points: 42 |
Post Options
Thanks(0)
Quote Reply
Posted: 13 December 2006 at 7:46pm |
|
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)
Quote Reply
Posted: 13 December 2006 at 7:48pm |
|
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)
Quote Reply
Posted: 13 December 2006 at 8:04pm |
|
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
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 14 December 2006 at 12:37am |
|
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)
Quote Reply
Posted: 14 December 2006 at 2:31am |
|
I have tried pPane->Close() , pPaneSearch is invisible completly, even icon is invisible. It's a wrong method.
any other idea?
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 14 December 2006 at 6:53am |
|
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)
Quote Reply
Posted: 14 December 2006 at 7:38pm |
|
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 |