<?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 : how to get HWNDs of all view displayed?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : how to get HWNDs of all view displayed?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 09 Apr 2026 16:47:31 +0000</pubDate>
  <lastBuildDate>Mon, 19 Jul 2004 16:11:39 +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=914</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[how to get HWNDs of all view displayed? : You must get a pointer to your...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=914&amp;PID=2531&amp;title=how-to-get-hwnds-of-all-view-displayed#2531</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=637">brucesinner</a><br /><strong>Subject:</strong> 914<br /><strong>Posted:</strong> 19 July 2004 at 4:11pm<br /><br />You must get a pointer to your main app and then get a pointer to your DocTemplate.<br>This code below do something like this: <br><br>&nbsp;&nbsp;&nbsp; POSITION viewpos;<br>&nbsp;&nbsp;&nbsp; POSITION pos = m_pDocTemplate-&gt;GetFirstDocPosition();<br><br>&nbsp;&nbsp;&nbsp; while (pos != NULL)<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CDocument *pDoc = m_pDocTemplate-&gt;GetNextDoc(pos);<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; viewpos = pDoc-&gt;GetFirstViewPosition();<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CMDIView* tmpView = (CMDIView *) pDoc-&gt;GetNextView(viewpos);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; tmpView-&gt;Invalidate(TRUE);<br>&nbsp;&nbsp;&nbsp; }&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br><br>This code repaints all views in a MDI app.<br><br>Hope this helps,<br>Bruce Sinner<br>]]>
   </description>
   <pubDate>Mon, 19 Jul 2004 16:11:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=914&amp;PID=2531&amp;title=how-to-get-hwnds-of-all-view-displayed#2531</guid>
  </item> 
  <item>
   <title><![CDATA[how to get HWNDs of all view displayed? : Hello  I want to get HWNDs of...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=914&amp;PID=2423&amp;title=how-to-get-hwnds-of-all-view-displayed#2423</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=478">freehawk</a><br /><strong>Subject:</strong> 914<br /><strong>Posted:</strong> 05 July 2004 at 1:35am<br /><br /><P>Hello </P><P>I want to get HWNDs of all view displayed in the Tabbed MDI. Please help me how to do?</P><P>Thank you.</P><P>-Freehawk</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Mon, 05 Jul 2004 01:35:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=914&amp;PID=2423&amp;title=how-to-get-hwnds-of-all-view-displayed#2423</guid>
  </item> 
 </channel>
</rss>