<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Disabled CXTPTaskPanel gets enabled by resize</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Disabled CXTPTaskPanel gets enabled by resize]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 21 Apr 2026 08:28:09 +0000</pubDate>
  <lastBuildDate>Thu, 15 Apr 2010 09:26:04 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=16597</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Disabled CXTPTaskPanel gets enabled by resize : Hello,   when a CXTPTaskPanel...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16597&amp;PID=58094&amp;title=disabled-cxtptaskpanel-gets-enabled-by-resize#58094</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6043">czink</a><br /><strong>Subject:</strong> 16597<br /><strong>Posted:</strong> 15 April 2010 at 9:26am<br /><br /><FONT face=Arial>Hello,</FONT> <DIV>&nbsp;</DIV><DIV><FONT face="Arial, Helvetica, sans-serif">when a CXTPTaskPanel is disabled by <FONT face="Courier New, Courier, mono">EnableWindow(FALSE) </FONT>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 </FONT><FONT size=2>CMainFrame::OnCustomize():</FONT></DIV><DIV><FONT face="Arial, Helvetica, sans-serif"></FONT>&nbsp;</DIV><FONT face="Courier New, Courier, mono">void CMainFrame::OnCustomize()<BR>{<BR>&nbsp;&nbsp; m_wndTaskPanel.EnableWindow(FALSE);<BR>&nbsp;&nbsp; return;</FONT><DIV><FONT face="Courier New, Courier, mono">}</FONT><FONT face="Arial, Helvetica, sans-serif"></FONT></DIV><DIV><FONT face="Arial, Helvetica, sans-serif"></FONT>&nbsp;</DIV><DIV><FONT face="Arial, Helvetica, sans-serif">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.</FONT></DIV><DIV><FONT face=Arial></FONT>&nbsp;</DIV><DIV><FONT face=Arial><img src="http://forum.codejock.com/uploads/20100415_092309_Unbenannt.jpg" border="0"></FONT></DIV><DIV><FONT face="Arial, Helvetica, sans-serif"></FONT>&nbsp;</DIV><FONT face=Arial>Is this the desired behaviour?</FONT><DIV>&nbsp;</DIV><DIV><FONT face="Arial, Helvetica, sans-serif">Thanks</FONT></DIV><DIV><FONT face="Arial, Helvetica, sans-serif"></FONT>&nbsp;</DIV><DIV><FONT face="Arial, Helvetica, sans-serif">Christian Zink</FONT></DIV><DIV><FONT face=Arial></FONT>&nbsp;</DIV><DIV>Product: Xtreme Toolkit Pro 2009 Vol 3; 13.3.1.0<BR>Platform: Windows XP (32bit) / Vista (32bit)<BR>Language: Visual C++ MFC</DIV>]]>
   </description>
   <pubDate>Thu, 15 Apr 2010 09:26:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16597&amp;PID=58094&amp;title=disabled-cxtptaskpanel-gets-enabled-by-resize#58094</guid>
  </item> 
 </channel>
</rss>