<?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 : Problem with Task Panel and Dialog</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Problem with Task Panel and Dialog]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 12 Jun 2026 02:37:00 +0000</pubDate>
  <lastBuildDate>Tue, 02 May 2006 12:07:07 +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=4107</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[Problem with Task Panel and Dialog : You are right. XTP_TPN_FOCUSEDITEMCHANGED...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4107&amp;PID=12583&amp;title=problem-with-task-panel-and-dialog#12583</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1843">Denbuerg</a><br /><strong>Subject:</strong> 4107<br /><strong>Posted:</strong> 02 May 2006 at 12:07pm<br /><br />You are right. <font face="Courier New">XTP_TPN_FOCUSEDITEMCHANGED caused this problem. Now its gone. Thx!</font>]]>
   </description>
   <pubDate>Tue, 02 May 2006 12:07:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4107&amp;PID=12583&amp;title=problem-with-task-panel-and-dialog#12583</guid>
  </item> 
  <item>
   <title><![CDATA[Problem with Task Panel and Dialog : Hello,  are you sure you need...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4107&amp;PID=12582&amp;title=problem-with-task-panel-and-dialog#12582</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 4107<br /><strong>Posted:</strong> 02 May 2006 at 11:56am<br /><br /><P>Hello, </P><P>are you sure you need "<FONT face="Courier New">wParam == XTP_TPN_FOCUSEDITEMCHANGED ||" part?</FONT></P><P><FONT face="Courier New">Seems it cause the problem. Try to remove it.</FONT></P>]]>
   </description>
   <pubDate>Tue, 02 May 2006 11:56:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4107&amp;PID=12582&amp;title=problem-with-task-panel-and-dialog#12582</guid>
  </item> 
  <item>
   <title><![CDATA[Problem with Task Panel and Dialog : Hi,when I start a modal dialog...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4107&amp;PID=12578&amp;title=problem-with-task-panel-and-dialog#12578</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1843">Denbuerg</a><br /><strong>Subject:</strong> 4107<br /><strong>Posted:</strong> 02 May 2006 at 9:05am<br /><br />Hi,<br><br>when I start a modal dialog by selecting a task panel item I have a problem when I close the dialog. Everything, except the task panel, does not respond to the first mouse klick. e.g. I have to click on the menu twice to get a reaction.<br><br>If I start the same dialog from the menu, not from the task panel, I don't have that problem.<br><br>Does anyone has an idea what the problem might be? If it helps, here my code that starts the dialog:<br><br><span style="font-family: Courier New,Courier,mono;">LRESULT CMainFrame::OnTaskPanelNotify(WPARAM wParam, LPARAM lParam)</span><br style="font-family: Courier New,Courier,mono;"><span style="font-family: Courier New,Courier,mono;">{</span><br style="font-family: Courier New,Courier,mono;"><span style="font-family: Courier New,Courier,mono;">&nbsp;&nbsp;&nbsp; CXTPTaskPanelItem* pItem;</span><br style="font-family: Courier New,Courier,mono;"><span style="font-family: Courier New,Courier,mono;">&nbsp;&nbsp;&nbsp; CUserPropertiesDlg UserPropDlg;</span><br style="font-family: Courier New,Courier,mono;"><span style="font-family: Courier New,Courier,mono;">&nbsp;&nbsp;&nbsp; </span><br style="font-family: Courier New,Courier,mono;"><span style="font-family: Courier New,Courier,mono;">&nbsp;&nbsp;&nbsp; if (wParam == XTP_TPN_FOCUSEDITEMCHANGED || wParam == XTP_TPN_CLICK)</span><br style="font-family: Courier New,Courier,mono;"><span style="font-family: Courier New,Courier,mono;">&nbsp;&nbsp;&nbsp; {</span><br style="font-family: Courier New,Courier,mono;"><span style="font-family: Courier New,Courier,mono;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pItem = m_wndTaskPanel.GetFocusedItem();</span><br style="font-family: Courier New,Courier,mono;"><span style="font-family: Courier New,Courier,mono;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (pItem != NULL)</span><br style="font-family: Courier New,Courier,mono;"><span style="font-family: Courier New,Courier,mono;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; {</span><br style="font-family: Courier New,Courier,mono;"><span style="font-family: Courier New,Courier,mono;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; UINT iItemID = pItem-&gt;GetID();</span><br style="font-family: Courier New,Courier,mono;"><span style="font-family: Courier New,Courier,mono;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; switch (iItemID)</span><br style="font-family: Courier New,Courier,mono;"><span style="font-family: Courier New,Courier,mono;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; {</span><br style="font-family: Courier New,Courier,mono;"><span style="font-family: Courier New,Courier,mono;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; case ID_TASKITEM_EDITUSER:</span><br style="font-family: Courier New,Courier,mono;"><span style="font-family: Courier New,Courier,mono;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CUserPropertiesDlg UserPropDlg;</span><br style="font-family: Courier New,Courier,mono;"><span style="font-family: Courier New,Courier,mono;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; INT_PTR iRet = UserPropDlg.DoModal();<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ...<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  break;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  ...<br></span><br><div style="text-align: left;"><span style="font-family: Courier New,Courier,mono;"></span><br></div>]]>
   </description>
   <pubDate>Tue, 02 May 2006 09:05:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4107&amp;PID=12578&amp;title=problem-with-task-panel-and-dialog#12578</guid>
  </item> 
 </channel>
</rss>