CXTPDockingPaneAutoHideWnd::OnTimer issue |
Post Reply |
Author | |
JamesC
Newbie Joined: 03 December 2003 Status: Offline Points: 21 |
Post Options
Thanks(0)
Posted: 05 February 2004 at 1:21pm |
We have experienced some issues with CXTPDockingPaneAutoHideWnd. It appears that at some point m_pPane gets Nulled out and OnTimer gets called. This blows up on line 193 when m_pPane is dereferenced. Anyone else experience this?
|
|
vladsch
Newbie Joined: 04 February 2004 Location: Canada Status: Offline Points: 30 |
Post Options
Thanks(0)
|
I have not experienced this but it is possible. If the timing is just right and the CloseWindow is called after a timer message is posted to the window then the OnTimer will fire with the m_pPane member already cleared. I have made a couple of modifications to the AutoHidePane/Wnd classes to smooth out the animation and get rid of the quick "flash" of the background when docking a hidden pane via the "hide/dock" button. Incidentally this also fixes your issue because I use m_pPane == 0 to detect when the CXTPDockingPaneAutoHideWnd is supposed to delay close. Oleg told me that the animation mods I sent in were merged into the toolkit source. So they are safe to use. The flash fix is new so no verdict on that yet. I am attaching the modified files (4) CXTPDockingPaneManager & CXTPDockingPaneAutoHidePanel both .h & .cpp. DiffReport on changes and a short description of the mods. |
|
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 |