Disabled CXTPTaskPanel gets enabled by resize |
Post Reply |
Author | |
czink
Newbie Joined: 15 April 2010 Status: Offline Points: 3 |
Post Options
Thanks(0)
Posted: 15 April 2010 at 9:26am |
Hello,
when a CXTPTaskPanel is disabled by EnableWindow(FALSE) under certain circumstances it will be reenabled if the panel gets resized. To reproduce this behaviour please use the GUI_OneNote example in \CodeJock\Samples\UserInterface\GUI_OneNote. For simplicity I placed the code to disable the panel inside CMainFrame::OnCustomize():
{ m_wndTaskPanel.EnableWindow(FALSE); return; }
After compiling start the application, make a right-cklick on one of the bars and choose "customize" (see the picture below for details). Now the CXTPTaskPanel ("New" on the right side) is disabled (Hyperlinks don't work, etc). Now resize this Taskpanel and it gets enabled again.
Thanks
Christian Zink
Product: Xtreme Toolkit Pro 2009 Vol 3; 13.3.1.0
Platform: Windows XP (32bit) / Vista (32bit) Language: Visual C++ MFC |
|
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 |