<?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 : Shortcutbar not able to host on a Dockingpane</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : Shortcutbar not able to host on a Dockingpane]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 28 Apr 2026 13:45:57 +0000</pubDate>
  <lastBuildDate>Tue, 30 Jan 2018 11:07:33 +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=23557</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[Shortcutbar not able to host on a Dockingpane : Hi All,I&amp;#039;m trying to put...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23557&amp;PID=76539&amp;title=shortcutbar-not-able-to-host-on-a-dockingpane#76539</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7167">JoukevRossum</a><br /><strong>Subject:</strong> 23557<br /><strong>Posted:</strong> 30 January 2018 at 11:07am<br /><br />Hi All,<div><br></div><div>I'm trying to put a Shortcutbar on a Dockingpane but I can't seem to get it to work....</div><div><br></div><div>I'm got 3 panels</div><div>&nbsp;- panelShort</div><div>&nbsp;- panelDocuments</div><div>&nbsp;- panelPreviewer</div><div><br></div><div>What is on the panel is in the name so I'm not going further into details.</div><div><br></div><div>So this is the code for creating the Dockingpanels and attaching the Handle of the Panels to the corresponding DockingPanes</div><div><br></div><div><div><span style="white-space:pre">	</span>private void CreateDockingPanes()</div><div>&nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; try</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // DockingPaneManager</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //&nbsp;</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; this.DockingManager = DockingPaneCC.DockingPaneManager(this);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; this.DockingManager.AttachPaneEvent += this.DockingManager_AttachPaneEvent;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DockingManager.ScaleMode = XTPScaleMode.xtpScalePixel;</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Thema.SetVensterThema(null, null, MainForm.Instance.DockingPaneGlobalSettings, DockingManager, MainForm.Instance.ReportControlGlobalSettings, null, null, null);</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PDetails = DockingManager.CreatePane(1, ShortcutBar.Width, 50, DockingDirection.DockTopOf);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PDetails.Title = "Dossiers";</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PDetails.Options = PaneOptions.PaneNoCloseable | PaneOptions.PaneNoHideable | PaneOptions.PaneNoFloatable;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PDetails.Handle = panelShort.Handle.ToInt32();</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PDocs = DockingManager.CreatePane(2, 250, 250, DockingDirection.DockRightOf, PDetails);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PDocs.Title = "Documenten";</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PDocs.Options = PaneOptions.PaneNoCloseable | PaneOptions.PaneNoHideable | PaneOptions.PaneNoFloatable;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PDocs.Handle = panelDocumentenEmails.Handle.ToInt32();</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PPreviewer = DockingManager.CreatePane(3, 250, 100, DockingDirection.DockRightOf, PDocs);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PPreviewer.Title = "Voorbeeld weergave";</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PPreviewer.Options = PaneOptions.PaneNoCloseable | PaneOptions.PaneNoHideable | PaneOptions.PaneNoFloatable;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PPreviewer.Handle = panelPreviewer.Handle.ToInt32();</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DockingManager.Options.HideClient = false;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; catch (Exception ex)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var dmsEx = new DmsException("Fout bij het initialiseren van DockingPanes", 339, ex);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ExceptionLogger.LogError(dmsEx);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; }</div></div><div><br></div><div>When I execute this code, the result is this:</div><div><img src="uploads/7167/Weird_shizzle_with_Shortcutbar_and_DockingPane.png" height="1038" width="534" border="0" /><br></div><div><br></div><div>What is happening.....?</div><div><br></div><div>I hope someone is able to help me!!</div><div><br></div><div>Best regards,</div><div><br></div><div>Jouke van Rossum</div>]]>
   </description>
   <pubDate>Tue, 30 Jan 2018 11:07:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23557&amp;PID=76539&amp;title=shortcutbar-not-able-to-host-on-a-dockingpane#76539</guid>
  </item> 
 </channel>
</rss>