Print Page | Close Window

Pane does not go away when focus lost

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=7045
Printed Date: 12 December 2024 at 12:45pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Pane does not go away when focus lost
Posted By: znakeeye
Subject: Pane does not go away when focus lost
Date Posted: 05 May 2007 at 7:19am
Hi,
 
I think I have found like 10 bugs the last two days. I deserve a beer now
 
Anyway, I have a CXTPDockingPaneManager in my CMainFrame (TDI). I set the following in OnCreate():
 
m_paneManager.InstallDockingPanes(this);
m_paneManager.SetClientMargin(3);
m_paneManager.SetTheme(xtpPaneThemeOffice2003);
m_paneManager.SetDefaultPaneOptions(xtpPaneNoCloseable | xtpPaneNoFloatable);
m_paneManager.SetAlphaDockingContext(TRUE);
m_paneManager.EnableKeyboardNavigate(xtpPaneKeyboardUseAll);
 
Then I add one pane:
 
CXTPDockingPane* pwndPane1 = m_paneManager.CreatePane(IDC_SETTINGS_GRID, CRect(0, 0, 250, 120), xtpPaneDockLeft);
CXTPDockingPaneAutoHideWnd::m_nMouseHoverDelay = 500;
pwndPane1->Attach(&m_paneSettings);
pwndPane1->Hide();
pwndPane1->SetMinTrackSize(CSize(250, 150));
pwndPane1->SetMaxTrackSize(CSize(250, INT_MAX));
 
Problem:
Now, I do not have any views open! if I hover on the auto-hidden pane, it pops up. But then it does not disappear until I do some special thing like resizing the whole application window. Usually, it disappears as soon as I hover over a view, but in this case there are no views!
 
Not a serious bug, but still...



Replies:
Posted By: Oleg
Date Posted: 07 May 2007 at 8:06am
Hello,
You have call Attach in Notfy message handler.


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



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