<?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 : CXTPPopupControl use into Thread</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : CXTPPopupControl use into Thread]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 19 Apr 2026 17:49:05 +0000</pubDate>
  <lastBuildDate>Thu, 01 Sep 2016 05:35:14 +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=23110</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[CXTPPopupControl use into Thread : Hi,Thank you for our solution...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23110&amp;PID=75034&amp;title=cxtppopupcontrol-use-into-thread#75034</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8197">vishal</a><br /><strong>Subject:</strong> 23110<br /><strong>Posted:</strong> 01 September 2016 at 5:35am<br /><br />Hi,<div><br></div><div>Thank you for our solution I think from your solution I can solve my problem.</div><div><br></div><div>Thanks,<img src="http://forum.codejock.com/smileys/smiley10.gif" border="0" alt="Star" title="Star" /><img src="http://forum.codejock.com/smileys/smiley10.gif" border="0" alt="Star" title="Star" /></div>]]>
   </description>
   <pubDate>Thu, 01 Sep 2016 05:35:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23110&amp;PID=75034&amp;title=cxtppopupcontrol-use-into-thread#75034</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPPopupControl use into Thread : I think you should use for this...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23110&amp;PID=75029&amp;title=cxtppopupcontrol-use-into-thread#75029</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8817">cluster</a><br /><strong>Subject:</strong> 23110<br /><strong>Posted:</strong> 31 August 2016 at 10:35am<br /><br />I think you should use for this interaction PostMessage/PostThreadMessage. If your logic-thread is done you will fire a PostMessage to the main-thread. In your main-thread you have to catch the "WM_USER" message and show the result...<br><br>]]>
   </description>
   <pubDate>Wed, 31 Aug 2016 10:35:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23110&amp;PID=75029&amp;title=cxtppopupcontrol-use-into-thread#75029</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPPopupControl use into Thread : Hi,Thank you for your replay.You...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23110&amp;PID=75028&amp;title=cxtppopupcontrol-use-into-thread#75028</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8197">vishal</a><br /><strong>Subject:</strong> 23110<br /><strong>Posted:</strong> 31 August 2016 at 10:21am<br /><br />Hi,<br /><br />Thank you for your replay.<br /><br />You right MFC is not thread safe. But what i need to do i have some logic in thread which is return true false value. If my logic return false then I need to show popup with some message and if its return true then i need to close opened popup. And this all are in one thread so can you please help me to solve this problem?<br /><br />Thanks]]>
   </description>
   <pubDate>Wed, 31 Aug 2016 10:21:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23110&amp;PID=75028&amp;title=cxtppopupcontrol-use-into-thread#75028</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPPopupControl use into Thread : Hi Ahir,MFC is not thread-safe...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23110&amp;PID=75026&amp;title=cxtppopupcontrol-use-into-thread#75026</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8817">cluster</a><br /><strong>Subject:</strong> 23110<br /><strong>Posted:</strong> 31 August 2016 at 9:06am<br /><br />Hi Ahir,<br><br>MFC is <b>not</b> thread-safe!<br><p>https://msdn.microsoft.com/en-us/library/h14y172e.aspx<br></p><br>]]>
   </description>
   <pubDate>Wed, 31 Aug 2016 09:06:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23110&amp;PID=75026&amp;title=cxtppopupcontrol-use-into-thread#75026</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPPopupControl use into Thread : Hi,I&amp;#039;m usingCXTPPopupControl...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23110&amp;PID=75025&amp;title=cxtppopupcontrol-use-into-thread#75025</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8197">vishal</a><br /><strong>Subject:</strong> 23110<br /><strong>Posted:</strong> 31 August 2016 at 5:46am<br /><br />Hi,<div><br></div><div>I'm using&nbsp;CXTPPopupControl popup control into CDialog application. It is work fine when show popup from CDialog button event.</div><div><br></div><div>But when i'm using same logic for show popup into Thread then it is not work.</div><div>Below code i'm using into Thread,</div><div><br></div><div><div>DWORD WINAPI RunThread(LPVOID *arg)</div><div>{</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>CPopupControlDemoDlg* pDlg = (CPopupControlDemoDlg*)arg;</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>while(1)</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>{</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>// pDlg-&gt;OnButtonShow();</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>// Sleep(5000);</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>// continue;</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>CXTPPopupControl* pPopup = new CXTPPopupControl();</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>pPopup-&gt;SetTransparency(255);</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>pPopup-&gt;AllowMove(TRUE);</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>pPopup-&gt;SetAnimateDelay(0);</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>pPopup-&gt;SetPopupAnimation((XTPPopupAnimation)0);</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>pPopup-&gt;SetShowDelay(0);</div><div><br></div><div><span ="Apple-tab-span" style="white-space:pre">		</span>pDlg-&gt;SetTheme(pPopup);</div><div><br></div><div><span ="Apple-tab-span" style="white-space:pre">		</span>pPopup-&gt;SetPopupSize(pDlg-&gt;m_sizePopup);</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>pDlg-&gt;FindBestPosition(pPopup, pDlg-&gt;m_sizePopup);</div><div><br></div><div><span ="Apple-tab-span" style="white-space:pre">		</span>// pPopup-&gt;m_hWnd = pDlg-&gt;m_hWnd;</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>// SetWindowPos(pPopup-&gt;m_hWnd, NULL, 0, 0, 500, 500, SW_SHOW);</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>pPopup-&gt;SetOwner(pDlg);</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>//pPopup-&gt;SetParent(pDlg);</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>// pPopup-&gt;ShowModal(pDlg);</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>pPopup-&gt;Show(NULL);</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>pPopup-&gt;SetTheme(xtpPopupThemeOffice2003);</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>pPopup-&gt;RedrawControl();</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>// ShowWindow(pPopup-&gt;m_hWnd, SW_SHOW);</div><div><br></div><div><span ="Apple-tab-span" style="white-space:pre">		</span>pDlg-&gt;m_lstPopupControl.AddTail(pPopup);</div><div><br></div><div><span ="Apple-tab-span" style="white-space:pre">		</span>Sleep(5000);</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>}</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>return 0;</div><div>}</div></div><div><br></div><div>Please help me to solve this problem.</div><div><br></div><div>Thanks</div>]]>
   </description>
   <pubDate>Wed, 31 Aug 2016 05:46:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23110&amp;PID=75025&amp;title=cxtppopupcontrol-use-into-thread#75025</guid>
  </item> 
 </channel>
</rss>