Pane does not go away when focus lost |
Post Reply |
Author | |
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
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...
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hello,
You have call Attach in Notfy message handler.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
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 |