<?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 : Update capti&#111;n in a thread</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Update capti&#111;n in a thread]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 11 Apr 2026 09:24:16 +0000</pubDate>
  <lastBuildDate>Fri, 12 Aug 2005 22:21:36 +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=2691</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[Update capti&#111;n in a thread : No. I added a mouse hook in the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2691&amp;PID=8120&amp;title=update-caption-in-a-thread#8120</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=797">jeffcmj</a><br /><strong>Subject:</strong> 2691<br /><strong>Posted:</strong> 12 August 2005 at 10:21pm<br /><br /><P>No. I added a mouse hook in the view thread and post another message to the frame's thread in OnLbuttonDown and OnRbuttonDown. In the mainframe's handler I call SendTrackLost() .</P><P>Please advise if you think my solution will cause problem or you have better solutions.</P><P>Thanks</P>]]>
   </description>
   <pubDate>Fri, 12 Aug 2005 22:21:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2691&amp;PID=8120&amp;title=update-caption-in-a-thread#8120</guid>
  </item> 
  <item>
   <title><![CDATA[Update capti&#111;n in a thread : Hmm. It must help with RecalcLayout...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2691&amp;PID=8112&amp;title=update-caption-in-a-thread#8112</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 2691<br /><strong>Posted:</strong> 12 August 2005 at 2:33pm<br /><br /><P>Hmm.</P><P>It must help with <FONT size=2>RecalcLayout problem, but</FONT></P><P>does it fix problem with closing popups clicking on anywhere in the View?</P>]]>
   </description>
   <pubDate>Fri, 12 Aug 2005 14:33:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2691&amp;PID=8112&amp;title=update-caption-in-a-thread#8112</guid>
  </item> 
  <item>
   <title><![CDATA[Update capti&#111;n in a thread : I finally get workaround of this...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2691&amp;PID=8092&amp;title=update-caption-in-a-thread#8092</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=797">jeffcmj</a><br /><strong>Subject:</strong> 2691<br /><strong>Posted:</strong> 10 August 2005 at 8:50pm<br /><br /><P>I finally get workaround of this problem.</P><P>In the view's thread's OnIdle handler, I post&nbsp;a message to the main thread to ask the mainthread to call its OnIdle handler. Then everything works.</P><P>I don't know any side effect of this workaround. Any feedback is appreciated.</P>]]>
   </description>
   <pubDate>Wed, 10 Aug 2005 20:50:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2691&amp;PID=8092&amp;title=update-caption-in-a-thread#8092</guid>
  </item> 
  <item>
   <title><![CDATA[Update capti&#111;n in a thread : But I need to run the UI part...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2691&amp;PID=8046&amp;title=update-caption-in-a-thread#8046</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=797">jeffcmj</a><br /><strong>Subject:</strong> 2691<br /><strong>Posted:</strong> 08 August 2005 at 8:40am<br /><br />But I need to run the UI part of&nbsp;the view in another thread. Do you mean it can not be solved?]]>
   </description>
   <pubDate>Mon, 08 Aug 2005 08:40:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2691&amp;PID=8046&amp;title=update-caption-in-a-thread#8046</guid>
  </item> 
  <item>
   <title><![CDATA[Update capti&#111;n in a thread : These all problems because Frame...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2691&amp;PID=8043&amp;title=update-caption-in-a-thread#8043</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 2691<br /><strong>Posted:</strong> 08 August 2005 at 4:13am<br /><br /><P>These all problems because Frame and View must be in same thread. Try to remake it.</P>]]>
   </description>
   <pubDate>Mon, 08 Aug 2005 04:13:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2691&amp;PID=8043&amp;title=update-caption-in-a-thread#8043</guid>
  </item> 
  <item>
   <title><![CDATA[Update capti&#111;n in a thread : Another finding, clicking on anywhere...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2691&amp;PID=8037&amp;title=update-caption-in-a-thread#8037</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=797">jeffcmj</a><br /><strong>Subject:</strong> 2691<br /><strong>Posted:</strong> 07 August 2005 at 9:38pm<br /><br />Another finding, clicking on anywhere in the View(in new thread)&nbsp;does not dismiss the popup bar in mainframe, eg, the menu, the toolbar dropdown, etc.]]>
   </description>
   <pubDate>Sun, 07 Aug 2005 21:38:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2691&amp;PID=8037&amp;title=update-caption-in-a-thread#8037</guid>
  </item> 
  <item>
   <title><![CDATA[Update capti&#111;n in a thread : I found another problem. It seems...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2691&amp;PID=8035&amp;title=update-caption-in-a-thread#8035</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=797">jeffcmj</a><br /><strong>Subject:</strong> 2691<br /><strong>Posted:</strong> 07 August 2005 at 10:22am<br /><br /><P>I found another problem. It seems when my mouse is inside the UI of my View( in a separate thread than mainfram), the mainframe control's OnUpdateUI handler is not called. Only when the mouse move over some part of the mainframe, the handler is called and the control is updated.</P>]]>
   </description>
   <pubDate>Sun, 07 Aug 2005 10:22:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2691&amp;PID=8035&amp;title=update-caption-in-a-thread#8035</guid>
  </item> 
  <item>
   <title><![CDATA[Update capti&#111;n in a thread : CallingpControl-&amp;gt;GetParent()-&amp;gt;OnRecalcLayout();...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2691&amp;PID=8034&amp;title=update-caption-in-a-thread#8034</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=797">jeffcmj</a><br /><strong>Subject:</strong> 2691<br /><strong>Posted:</strong> 07 August 2005 at 10:14am<br /><br /><P>Calling&nbsp;pControl-&gt;GetParent()-&gt;<FONT size=2>OnRecalcLayout(); solved my problem. Do I have to do it whenever I update the control in a thread or you could fix this in a future version?</FONT></P><P><FONT size=2>Best</FONT></P><P><FONT size=2>Jeff</FONT></P>]]>
   </description>
   <pubDate>Sun, 07 Aug 2005 10:14:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2691&amp;PID=8034&amp;title=update-caption-in-a-thread#8034</guid>
  </item> 
  <item>
   <title><![CDATA[Update capti&#111;n in a thread : I am using 9.7 . Adding DelayLayoutParent()...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2691&amp;PID=8033&amp;title=update-caption-in-a-thread#8033</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=797">jeffcmj</a><br /><strong>Subject:</strong> 2691<br /><strong>Posted:</strong> 07 August 2005 at 10:11am<br /><br /><P>I am using 9.7 . Adding DelayLayoutParent() does not help.</P><P>This is how my program works. I have the MainFrame and View, in the view, I upgrade some XTP control's caption. At first they are all in the same thread and no program with it. In a later version, I change the view to run in a new thread, still updating the XTP control in the view, then I got the problem, the control won't update until I force the mainframe to redraw.</P>]]>
   </description>
   <pubDate>Sun, 07 Aug 2005 10:11:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2691&amp;PID=8033&amp;title=update-caption-in-a-thread#8033</guid>
  </item> 
  <item>
   <title><![CDATA[Update capti&#111;n in a thread : What version do you have? try...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2691&amp;PID=8028&amp;title=update-caption-in-a-thread#8028</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 2691<br /><strong>Posted:</strong> 07 August 2005 at 1:20am<br /><br /><P>What version do you have?</P><P>try to call </P><FONT size=2><P>pControl-&gt;DelayLayoutParent or pControl-&gt;GetParent()-&gt;<FONT size=2>OnRecalcLayout();</P></FONT></FONT>]]>
   </description>
   <pubDate>Sun, 07 Aug 2005 01:20:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2691&amp;PID=8028&amp;title=update-caption-in-a-thread#8028</guid>
  </item> 
 </channel>
</rss>