<?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 : DockPane Problem!!!</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : DockPane Problem!!!]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 19:18:30 +0000</pubDate>
  <lastBuildDate>Mon, 21 Apr 2008 08:23:22 +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=10309</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[DockPane Problem!!! : I&amp;#039;m glad I was able to help,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10309&amp;PID=34025&amp;title=dockpane-problem#34025</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3717">Smucker</a><br /><strong>Subject:</strong> 10309<br /><strong>Posted:</strong> 21 April 2008 at 8:23am<br /><br />I'm glad I was able to help, but I'm afraid I don't have enough info to help with your form view.<br><br><br>]]>
   </description>
   <pubDate>Mon, 21 Apr 2008 08:23:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10309&amp;PID=34025&amp;title=dockpane-problem#34025</guid>
  </item> 
  <item>
   <title><![CDATA[DockPane Problem!!! : how can i get the formview which...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10309&amp;PID=33989&amp;title=dockpane-problem#33989</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4110">wshmouse2003</a><br /><strong>Subject:</strong> 10309<br /><strong>Posted:</strong> 20 April 2008 at 11:21pm<br /><br />how can i get the formview which is already attach pane?]]>
   </description>
   <pubDate>Sun, 20 Apr 2008 23:21:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10309&amp;PID=33989&amp;title=dockpane-problem#33989</guid>
  </item> 
  <item>
   <title><![CDATA[DockPane Problem!!! : Thank you very much.   I modify...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10309&amp;PID=33988&amp;title=dockpane-problem#33988</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4110">wshmouse2003</a><br /><strong>Subject:</strong> 10309<br /><strong>Posted:</strong> 20 April 2008 at 10:49pm<br /><br />Thank you very much. <DIV>&nbsp;</DIV><DIV>I modify my code, and the CMylistCtrl work well, but the formview do not work, and i cannt trace it. Why?</DIV>]]>
   </description>
   <pubDate>Sun, 20 Apr 2008 22:49:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10309&amp;PID=33988&amp;title=dockpane-problem#33988</guid>
  </item> 
  <item>
   <title><![CDATA[DockPane Problem!!! : It sounds like flooding your message...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10309&amp;PID=33985&amp;title=dockpane-problem#33985</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3717">Smucker</a><br /><strong>Subject:</strong> 10309<br /><strong>Posted:</strong> 20 April 2008 at 3:15pm<br /><br />It sounds like flooding your message queue (posting messages faster than they can be processed).<br><br>As long as the list control and form view are handled by the same GUI thread, you've already transitioned to it by the PostMessage from your work thread, so you can use SendMessage or even simpler call a public method in the form view.<br><br>]]>
   </description>
   <pubDate>Sun, 20 Apr 2008 15:15:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10309&amp;PID=33985&amp;title=dockpane-problem#33985</guid>
  </item> 
  <item>
   <title><![CDATA[DockPane Problem!!! : Hi, I use the Xtreme toolkit in...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10309&amp;PID=33983&amp;title=dockpane-problem#33983</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4110">wshmouse2003</a><br /><strong>Subject:</strong> 10309<br /><strong>Posted:</strong> 20 April 2008 at 10:09am<br /><br />Hi, I use the Xtreme toolkit in my applacation.&nbsp; Now I have one problem long time. <DIV></DIV><DIV>&nbsp;</DIV><DIV>In my applacation, I create two DcokPane, </DIV><DIV>In the first Pane(pMyList), I added my CMyListCtrl&nbsp; object (CMyListCtrl calss is &nbsp;a&nbsp; CListctrl derived class), other pane(pFormView) I&nbsp;attach my CMyFormView object which&nbsp; derived CFormView. And i create on thread func.</DIV><DIV>&nbsp;</DIV><DIV>In my CMyFormView, I add one Data Members m_ImgTree, it is one CMyImgTree control object. CMyImgTree is a CTreeCtrl&nbsp; derived class.</DIV><DIV>&nbsp;</DIV><DIV>In CMyListCtrl, I add one custom message with ON_REGISTERED_MESSAGE macros. In my thread func i use PostMessage func post my custom message to CMyListCtrl.&nbsp;it work well.</DIV><DIV>&nbsp;</DIV><DIV>Now i want send data to CMyImgTree object, so i add custom message with ON_REGISTERED_MESSAGE macros in CMyFormView again.&nbsp; And In CMyListCtrl class &nbsp;custom message func I add PostMessage for sending data to CMyFormView, but it has one problem. It worked awfully. </DIV><DIV>&nbsp;</DIV><DIV>There no any data in the pFormView and&nbsp;the pMyList. And the applacation&nbsp; halt,&nbsp;i &nbsp;must stop it in vs2008. But the CMyListCtrl object scrollbar was moved buttom, so it should have data which no appeared.</DIV><DIV>&nbsp;</DIV><DIV>How solve the problem?</DIV><DIV>&nbsp;</DIV><DIV>the code like this</DIV><DIV>&nbsp;</DIV><DIV>void CapThreadFunc()<BR>{<BR>&nbsp;&nbsp;&nbsp;&nbsp; HRESULT hs;<BR><BR>&nbsp;&nbsp;&nbsp; while ( (( hs = pcap_next_ex( (pcap_t*) adhandle, &amp;header,(const unsigned char**)&amp;pkt_dataSource ) ) &gt;= 0)&amp;&amp;bRun )<BR>&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp; ::PostMessage(((CMyListCtrl*)(&amp;((CMainFrame*)(AfxGetApp()-&gt;m_pMainWnd))-&gt;m_PacketInfoList))-&gt;m_hWnd,WM_GETDATAFROMTHREAD,0,0);<BR>&nbsp;&nbsp;&nbsp;&nbsp; }<BR>}<BR></DIV><DIV>LRESULT CMyListCtrl::OnGetDataFromTread(WPARAM wParam, LPARAM lParam)<BR>{</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp; MY FUNC CODE;</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp; if(my codition)</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp; {</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;CMainFrame* pMainFrame = (CMainFrame*)(AfxGetApp()-&gt;m_pMainWnd);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;CXTPDockingPane* pImgInfoPane = pMainFrame-&gt;m_paneManager.FindPane(IDR_IMG_TREEPANE);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CMyFormView* pImgInfoTree = (CMyFormView*)pImgInfoPane-&gt;GetChild();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;::PostMessage(pImgInfoTree-&gt;m_hWnd,WM_GETDATAFROMTHREADIMGTREE,0,0);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</DIV><DIV>&nbsp;</DIV><DIV>LRESULT CMyFormView::OnGetDataFromTread( WPARAM wParam, LPARAM lParam )<BR>{<BR>&nbsp;&nbsp;&nbsp;&nbsp;my func code;</DIV><DIV>&nbsp;&nbsp;&nbsp; return x;<BR>}</DIV><DIV>}<BR></DIV><DIV>&nbsp;</DIV><DIV>Thanks.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Sun, 20 Apr 2008 10:09:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10309&amp;PID=33983&amp;title=dockpane-problem#33983</guid>
  </item> 
 </channel>
</rss>