Print Page | Close Window

How to hide DockingPane totally?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=5774
Printed Date: 12 December 2024 at 9:52am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to hide DockingPane totally?
Posted By: zjroland
Subject: How to hide DockingPane totally?
Date Posted: 13 December 2006 at 4:43am
How to hide DockingPane totally, only display a Icon?



Replies:
Posted By: Oleg
Date Posted: 13 December 2006 at 6:48am
Display icon where?

-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: zjroland
Date 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.


Posted By: zjroland
Date 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.


Posted By: zjroland
Date 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.


Posted By: Oleg
Date Posted: 14 December 2006 at 12:37am
Hi,
Did you try pPane->Close() instead pPane->Hide() ?


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: zjroland
Date 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?


Posted By: Oleg
Date 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


Posted By: zjroland
Date 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.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net