<?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 : Accessing Child &#079;bject from Pane.Handle</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : Accessing Child &#079;bject from Pane.Handle]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 25 Apr 2026 01:04:23 +0000</pubDate>
  <lastBuildDate>Fri, 06 Feb 2004 13:14:06 +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=399</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[Accessing Child &#079;bject from Pane.Handle : Thanks for your message. I had...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=399&amp;PID=979&amp;title=accessing-child-object-from-pane-handle#979</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=280">ianp</a><br /><strong>Subject:</strong> 399<br /><strong>Posted:</strong> 06 February 2004 at 1:14pm<br /><br /><P>Thanks for your message. I had two appraoches to this: maintain a global/form variable with an array of pointers to the&nbsp; forms; or get the form object back from a loop (as you suggested).</P><P>Dunno if it's just me but both seem kinda excessive so thought there maybe an API or function that I hadn't heard of.</P><P>Oh well, sticking with the "for f in forms" approach for now as&nbsp; it appears faster and easier.</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Fri, 06 Feb 2004 13:14:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=399&amp;PID=979&amp;title=accessing-child-object-from-pane-handle#979</guid>
  </item> 
  <item>
   <title><![CDATA[Accessing Child &#079;bject from Pane.Handle : Ian, Will something like this...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=399&amp;PID=942&amp;title=accessing-child-object-from-pane-handle#942</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=229">robs</a><br /><strong>Subject:</strong> 399<br /><strong>Posted:</strong> 04 February 2004 at 9:33pm<br /><br /><P>Ian,</P><P>Will something like this work for you?:</P><P>Dim f As Form<BR>Dim v As Variant<BR>For Each v In Forms<BR>&nbsp;&nbsp;&nbsp; If v.hWnd = pane.Handle Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set f = v<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Exit For<BR>&nbsp;&nbsp;&nbsp; End If<BR>&nbsp;Next</P><P>If Not f Is Nothing Then<BR>&nbsp; f.command1.Caption = "My New Value"<BR>End If</P>]]>
   </description>
   <pubDate>Wed, 04 Feb 2004 21:33:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=399&amp;PID=942&amp;title=accessing-child-object-from-pane-handle#942</guid>
  </item> 
  <item>
   <title><![CDATA[Accessing Child &#079;bject from Pane.Handle : Hi,  I&amp;#039;m using the ActiveX...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=399&amp;PID=902&amp;title=accessing-child-object-from-pane-handle#902</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=280">ianp</a><br /><strong>Subject:</strong> 399<br /><strong>Posted:</strong> 30 January 2004 at 3:14am<br /><br /><P><FONT face="Verdana, Arial, Helvetica, sans-serif">Hi, </FONT></P><P><FONT face="Verdana, Arial, Helvetica, sans-serif">I'm using the ActiveX docking pane control. Once I have created a Pane and set the Pane.Handle to the form to be used as the Child Window, I am trying to get access to the controls on the form of the Child Window.</FONT></P><P><FONT face="Verdana, Arial, Helvetica, sans-serif">Can anyone suggest how I can do this from the Pane.Handle? Ideally what I am looking for is something like:</FONT></P><P><FONT face="Courier New, Courier, mono"><table width="99%"><tr><td><pre class="BBcode">Set frm = <EM>Pane.Handle</EM></FONT></P><P><FONT face="Courier New, Courier, mono">frm.command1.caption = "My New Value"</pre></td></tr></table></FONT></P><P><FONT face=Verdana>So the question really is, how do you turn a window handle (hwnd) into a vb form object?</FONT></P><P>Thanks</P><P>Ian</P><P><FONT face="Verdana, Arial, Helvetica, sans-serif"></FONT>&nbsp;</P><P><FONT face="Verdana, Arial, Helvetica, sans-serif"></FONT>&nbsp;</P><P><FONT face="Verdana, Arial, Helvetica, sans-serif">Using both</FONT></P><span style="font-size:10px"><br /><br />Edited by ianp</span>]]>
   </description>
   <pubDate>Fri, 30 Jan 2004 03:14:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=399&amp;PID=902&amp;title=accessing-child-object-from-pane-handle#902</guid>
  </item> 
 </channel>
</rss>