<?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 : DockingPaneManager_Action</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : DockingPaneManager_Action]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 28 Apr 2026 23:43:08 +0000</pubDate>
  <lastBuildDate>Sat, 13 Jan 2007 09:00:03 +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=6092</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[DockingPaneManager_Action :  Thank you littleJK  All my...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6092&amp;PID=19270&amp;title=dockingpanemanager-action#19270</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2604">tomamoss</a><br /><strong>Subject:</strong> 6092<br /><strong>Posted:</strong> 13 January 2007 at 9:00am<br /><br /><DIV><H2 style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman">Thank you littleJK<?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></FONT></H2><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman">&nbsp;<o:p></o:p></FONT></FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" size=3>All my problems started because I want to verify that a user has filled in all fields on a form. </FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman">I could check this when the form loses focus.<o:p></o:p></FONT></FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman">But the form lost focus event does not work with the DockingPane.<o:p></o:p></FONT></FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" size=3>So I use the Deactivate event. But I can't set the focus back to the form.</FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman">&nbsp;<o:p></o:p></FONT></FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><B><FONT size=3><FONT face="Times New Roman">Code example. <o:p></o:p></FONT></FONT></B></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" size=3>Add two picturebox to form named frmMain.</FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" size=3>Add another form. Form2</FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman">&nbsp;<o:p></o:p></FONT></FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" size=3>Add the following code to frmMain</FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"></FONT></FONT>&nbsp;</P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; mso-bidi-font-size: 12.0pt"><FONT face="Times New Roman">Option Explicit<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; mso-bidi-font-size: 12.0pt"><FONT face="Times New Roman">&nbsp;<o:p></o:p></FONT></SPAN></P><H1 style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; FONT-STYLE: normal; mso-bidi-font-size: 12.0pt"><FONT face="Times New Roman">Private WithEvents frmForm2 As Form<o:p></o:p></FONT></SPAN></H1><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; mso-bidi-font-size: 12.0pt"><FONT face="Times New Roman">&nbsp;<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; mso-bidi-font-size: 12.0pt"><FONT face="Times New Roman">Private Sub Form_Load()<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; mso-bidi-font-size: 12.0pt"><FONT face="Times New Roman">Set PanePic1 = DockingPaneManager.CreatePane(1, 1350, 1200, DockTopOf)<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; mso-bidi-font-size: 12.0pt"><FONT face="Times New Roman">PanePic1.Title = "Pic1"<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; mso-bidi-font-size: 12.0pt"><FONT face="Times New Roman">&nbsp;<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; mso-bidi-font-size: 12.0pt"><FONT face="Times New Roman">Set PanePic2 = DockingPaneManager.CreatePane(1, 1350, 1200, DockTopOf)<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; mso-bidi-font-size: 12.0pt"><FONT face="Times New Roman">PanePic2.Title = "Pic2"<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; mso-bidi-font-size: 12.0pt"><FONT face="Times New Roman">PanePic2.AttachTo PanePic1<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; mso-bidi-font-size: 12.0pt"><FONT face="Times New Roman">&nbsp;<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; mso-bidi-font-size: 12.0pt"><FONT face="Times New Roman">Set PaneForm2 = DockingPaneManager.CreatePane(1, 350, 700, DockBottomOf)<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; mso-bidi-font-size: 12.0pt"><FONT face="Times New Roman">PaneForm2.Title = "Form2"<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; mso-bidi-font-size: 12.0pt"><FONT face="Times New Roman">&nbsp;<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; mso-bidi-font-size: 12.0pt"><FONT face="Times New Roman">PanePic1.Handle = Picture1.hWnd<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; mso-bidi-font-size: 12.0pt"><FONT face="Times New Roman">PanePic2.Handle = Picture2.hWnd<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; mso-bidi-font-size: 12.0pt"><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN><o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; mso-bidi-font-size: 12.0pt"><FONT face="Times New Roman">Set frmForm2 = New Form2<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; mso-bidi-font-size: 12.0pt"><FONT face="Times New Roman">PaneForm2.Handle = frmForm2.hWnd<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; mso-bidi-font-size: 12.0pt"><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN><o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; mso-bidi-font-size: 12.0pt"><FONT face="Times New Roman">DockingPaneManager.VisualTheme = ThemeOffice2003<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; mso-bidi-font-size: 12.0pt"><FONT face="Times New Roman">DockingPaneManager.TabPaintManager.Position = xtpTabPositionTop<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; mso-bidi-font-size: 12.0pt"><FONT face="Times New Roman">DockingPaneManager.Options.HideClient = True<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; mso-bidi-font-size: 12.0pt"><FONT face="Times New Roman">End Sub<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; mso-bidi-font-size: 12.0pt"><FONT face="Times New Roman">&nbsp;<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; mso-bidi-font-size: 12.0pt"><FONT face="Times New Roman">Private Sub Form_Unload(Cancel As Integer)<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; mso-bidi-font-size: 12.0pt"><FONT face="Times New Roman">Unload frmForm2<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; mso-bidi-font-size: 12.0pt"><FONT face="Times New Roman">Set frmForm2 = Nothing<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; mso-bidi-font-size: 12.0pt"><FONT face="Times New Roman">End Sub<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; mso-bidi-font-size: 12.0pt"><FONT face="Times New Roman">&nbsp;<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; mso-bidi-font-size: 12.0pt"><FONT face="Times New Roman">Private Sub frmForm2_Deactivate()<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; mso-bidi-font-size: 12.0pt"><FONT face="Times New Roman">'check that all fields are filled before they move the focus from this form.<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; mso-bidi-font-size: 12.0pt"><FONT face="Times New Roman">MsgBox "Please fill all manditory fields on form."<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; mso-bidi-font-size: 12.0pt"><FONT face="Times New Roman">frmForm2.SetFocus<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; mso-bidi-font-size: 12.0pt"><FONT face="Times New Roman">End Sub<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; mso-bidi-font-size: 12.0pt"><FONT face="Times New Roman">&nbsp;<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" size=3>You will see that we are in a endless loop.</FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" size=3>Thanks for all your help.</FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" size=3>Cheers</FONT></P><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-GB; mso-fareast-: EN-US; mso-bidi-: AR-SA">Tom</SPAN></DIV>]]>
   </description>
   <pubDate>Sat, 13 Jan 2007 09:00:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6092&amp;PID=19270&amp;title=dockingpanemanager-action#19270</guid>
  </item> 
  <item>
   <title><![CDATA[DockingPaneManager_Action : most of your issue lies with that...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6092&amp;PID=19252&amp;title=dockingpanemanager-action#19252</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1932">LittleJK</a><br /><strong>Subject:</strong> 6092<br /><strong>Posted:</strong> 12 January 2007 at 2:50pm<br /><br />most of your issue lies with that you are trying to use a form. When attaching the form you should be declaring <br><br><br>Private WithEvents fnewform As newform<br><br>and then attach fnewform.hwnd either in the attach pane method or if you want to you can use a shortcut of declaring it in the code for the docking pane itself such as:<br><br>With Me.DockingPaneManager<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .CreatePane ID_PANE, 241, Int(Me.Height / 15), DockLeftOf<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; With .FindPane(ID_PANE)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Handle = Me.pic_options.HWnd or me.fnewform.hwnd<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Options = PaneNoCloseable Or PaneNoDockable <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Title = "Pane"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End With <br><br><br>Also you are trying to pass it as a public sub... you don't need to do that at all with the form...&nbsp; to display a message from the form... you can put a msgbox in the mouse click event of whatever is in the form<br>]]>
   </description>
   <pubDate>Fri, 12 Jan 2007 14:50:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6092&amp;PID=19252&amp;title=dockingpanemanager-action#19252</guid>
  </item> 
  <item>
   <title><![CDATA[DockingPaneManager_Action : Sorry to be a pain  But in my...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6092&amp;PID=19226&amp;title=dockingpanemanager-action#19226</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2604">tomamoss</a><br /><strong>Subject:</strong> 6092<br /><strong>Posted:</strong> 12 January 2007 at 6:14am<br /><br /><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman">Sorry to be a pain<?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman">&nbsp;<o:p></o:p></FONT></FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman">But in my desperate attempt to get a fix I took the SDISample sample and <o:p></o:p></FONT></FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" size=3>just added a sub</FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman">&nbsp;<o:p></o:p></FONT></FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman">Public Sub msg()<o:p></o:p></FONT></FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>MsgBox "test"<o:p></o:p></FONT></FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman">End Sub<o:p></o:p></FONT></FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman">in the form frmPane<o:p></o:p></FONT></FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman">&nbsp;<o:p></o:p></FONT></FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman">in the DockingPaneManager_Action event I use this<o:p></o:p></FONT></FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman">&nbsp;<o:p></o:p></FONT></FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman">If Action = PaneActionDeactivated Then<o:p></o:p></FONT></FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>If Pane.Title = "Pane 7" Then<o:p></o:p></FONT></FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>arrPanes(6).msg<o:p></o:p></FONT></FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>End If<o:p></o:p></FONT></FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;</SPAN>End If<o:p></o:p></FONT></FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman">&nbsp;<o:p></o:p></FONT></FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman">Once this is called the msgbox will show, and once you click OK it will crash.<o:p></o:p></FONT></FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman">&nbsp;<o:p></o:p></FONT></FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman">I really could do with some help with this<o:p></o:p></FONT></FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman">&nbsp;<o:p></o:p></FONT></FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman">Cheers<o:p></o:p></FONT></FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman">&nbsp;<o:p></o:p></FONT></FONT></P><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-GB; mso-fareast-: EN-US; mso-bidi-: AR-SA">Tom</SPAN>]]>
   </description>
   <pubDate>Fri, 12 Jan 2007 06:14:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6092&amp;PID=19226&amp;title=dockingpanemanager-action#19226</guid>
  </item> 
  <item>
   <title><![CDATA[DockingPaneManager_Action : Hi   If I put a picturebox into...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6092&amp;PID=19225&amp;title=dockingpanemanager-action#19225</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2604">tomamoss</a><br /><strong>Subject:</strong> 6092<br /><strong>Posted:</strong> 12 January 2007 at 5:08am<br /><br /><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman">Hi <?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;</SPAN><o:p></o:p></FONT></FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman">If I put a picturebox into a pane ie Item.Handle = Picture1.hwnd<o:p></o:p></FONT></FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman">in the event DockingPaneManager_AttachPane<o:p></o:p></FONT></FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;</SPAN><o:p></o:p></FONT></FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman">Then add a form into another pane, which has a public sub procedure that displays a msgbox.<o:p></o:p></FONT></FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;</SPAN><o:p></o:p></FONT></FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman">If you call that procedure from DockingPaneManager_Action while moving focus from the form to the pane with picture box the app will crash.<o:p></o:p></FONT></FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;</SPAN><o:p></o:p></FONT></FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman">my question is do you have to treat picture boxes different than form?<o:p></o:p></FONT></FONT></P><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-GB; mso-fareast-: EN-US; mso-bidi-: AR-SA">and if so what do you need to do?<DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV>&nbsp;</DIV><DIV>Thanks&nbsp; for your help</DIV><DIV>&nbsp;</DIV><DIV>Tom</DIV></SPAN>]]>
   </description>
   <pubDate>Fri, 12 Jan 2007 05:08:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6092&amp;PID=19225&amp;title=dockingpanemanager-action#19225</guid>
  </item> 
 </channel>
</rss>