Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Disabled CXTPTaskPanel gets enabled by resize
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Disabled CXTPTaskPanel gets enabled by resize

 Post Reply Post Reply
Author
Message
czink View Drop Down
Newbie
Newbie


Joined: 15 April 2010
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote czink Quote  Post ReplyReply Direct Link To This Post Topic: Disabled CXTPTaskPanel gets enabled by resize
    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():
 
void 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.
 
 
Is this the desired behaviour?
 
Thanks
 
Christian Zink
 
Product: Xtreme Toolkit Pro 2009 Vol 3; 13.3.1.0
Platform: Windows XP (32bit) / Vista (32bit)
Language: Visual C++ MFC
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.