<?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 : CommandBar Menu and Docking Panes on MDIForm</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : CommandBar Menu and Docking Panes on MDIForm]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 21:47:28 +0000</pubDate>
  <lastBuildDate>Wed, 22 Sep 2010 10:55:02 +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=17249</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[CommandBar Menu and Docking Panes on MDIForm : Cheers guys, that clears up everything.With...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17249&amp;PID=60415&amp;title=commandbar-menu-and-docking-panes-on-mdiform#60415</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6296">Hemesh</a><br /><strong>Subject:</strong> 17249<br /><strong>Posted:</strong> 22 September 2010 at 10:55am<br /><br />Cheers guys, that clears up everything.&nbsp;<img src="http://forum.codejock.com/smileys/smiley20.gif" border="0" alt="Thumbs Up" title="Thumbs Up" /><br><br>With these in mind, would it be worth fixing up the samples so that these hints are in there for other customers (current/future) as it'd help in the long run :)<br><br>Thanks again SuperMario... hell of a workaround though lol!<br>]]>
   </description>
   <pubDate>Wed, 22 Sep 2010 10:55:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17249&amp;PID=60415&amp;title=commandbar-menu-and-docking-panes-on-mdiform#60415</guid>
  </item> 
  <item>
   <title><![CDATA[CommandBar Menu and Docking Panes on MDIForm : Hi Supermario,    This is...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17249&amp;PID=60327&amp;title=commandbar-menu-and-docking-panes-on-mdiform#60327</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 17249<br /><strong>Posted:</strong> 20 September 2010 at 5:27pm<br /><br />Hi Supermario,<DIV>&nbsp;</DIV><DIV><img src="http://forum.codejock.com/smileys/smiley32.gif" height="17" width="18" border="0" alt="Clap" title="Clap" />&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>This is wonderfull, just copy/pasted the necessary code to SDI sample and it&nbsp;works also.&nbsp;At least I know it is possible. I really thought it wasn't possible, also because I didn't got an answer in the posts I ever did in this forum about this issue.&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Thanks a lot</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 20 Sep 2010 17:27:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17249&amp;PID=60327&amp;title=commandbar-menu-and-docking-panes-on-mdiform#60327</guid>
  </item> 
  <item>
   <title><![CDATA[CommandBar Menu and Docking Panes on MDIForm : OK Aaron I see your question now...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17249&amp;PID=60321&amp;title=commandbar-menu-and-docking-panes-on-mdiform#60321</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 17249<br /><strong>Posted:</strong> 20 September 2010 at 2:05pm<br /><br />OK Aaron I see your question now (sorry, been busy preparing 13.4.1), but you guys must realize CB does not translate standard vb toolbars, only menus.&nbsp; Which was one part of the sample that confused me.&nbsp; I am not sure why you would want to keep the VB Toolbars.<br><br>Some important notes.<br><br>1. Aligned controls can only be positioned above\below Docking Panes, if you want DP then you should consider moving the aligned controls inside a DP or using a DialogBar.<br>2. Dialog Bars can't use a PictureBox with an Aligned property...to get around this you simply place a picturebox inside an aligned picturebox.&nbsp; Then set the visibility of the aligned box to false and attache the non-aligned box to the DialogBar.<br><br>In short, if you use DP and CB and need aligned controls you need to decide to place them in a Pane or DialogBar.&nbsp; My sample shows how to use the DialogBar to keep the ugly VB Toolbar and also shows the PictureBox "in" Picturebox method so it can be used with a DialogBar.<br><br>***Warning*** attaching an aligned picturebox to a dialogbar will crash VB...thus the above method.<br><br><a href="uploads/369/frmMain.rar" target="_blank">uploads/369/frmMain.rar</a><br><br>*note you need to modify the vbp file to use 13.4.0 as I was using 13.4.1<br>]]>
   </description>
   <pubDate>Mon, 20 Sep 2010 14:05:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17249&amp;PID=60321&amp;title=commandbar-menu-and-docking-panes-on-mdiform#60321</guid>
  </item> 
  <item>
   <title><![CDATA[CommandBar Menu and Docking Panes on MDIForm : Hi,  SuperMario? Could &amp;#034;our&amp;#034;...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17249&amp;PID=60308&amp;title=commandbar-menu-and-docking-panes-on-mdiform#60308</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 17249<br /><strong>Posted:</strong> 19 September 2010 at 11:57am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>SuperMario? Could "our" problem be fix or not?</DIV><DIV>&nbsp;</DIV><DIV>Thanks</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Sun, 19 Sep 2010 11:57:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17249&amp;PID=60308&amp;title=commandbar-menu-and-docking-panes-on-mdiform#60308</guid>
  </item> 
  <item>
   <title><![CDATA[CommandBar Menu and Docking Panes on MDIForm :  I miss a lot on UK time.......]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17249&amp;PID=60251&amp;title=commandbar-menu-and-docking-panes-on-mdiform#60251</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6296">Hemesh</a><br /><strong>Subject:</strong> 17249<br /><strong>Posted:</strong> 17 September 2010 at 3:30am<br /><br />I miss a lot on UK time.... d'oh!<br><br>I'm moving my app from VB Menus to CJ Menus and have existing third-party controls on my MDI Form (so the StatusBar and ShortcutBar is not VB Standard ones, although i've tried to use those anyway to get this working without due course). The main reason this was required was so that we are implementing the russian language and VB6 controls don't support unicode.<br><br>I did drop on the commandbars object and it translated the existing menus great, but it lost the ShortcutBar for some reason. I chose a CommandBarFrame which failed miserably with the event for GetActiveDocumentID not firing... after a lot of messing I opted to use the dockingpane to solve this which thanks to earlier in the thread, got solved easily :) <br><br>This still in turn failed for the status bar though so I had to replace that now with CJ ones after looking through all the samples to find the right one but got that positioned ok now. I still have a sort of issue with the third-party control that's docked in the pane not displaying right when maximising/restoring the window which is a real pain. I tried putting the control in a picturebox, then putting the picturebox handle into the docking pane which crashed the VB IDE... so i think I might end up trying the CJ ShortcutBar.... if that works ok (as i've found CJ controls in commandbars don't display correctly anyway unless they are in a picturebox first anyway.. vb6 ones though work fine...)<br><br>I'll try the code suggestion that SuperMario has mentioned for the sample i uploaded to see if that fixes things, but I think some more sample apps are needed explaining these things more as the tutorials don't always help either. I might knock some up after this project and upload to help others on the simple first bits :)<br><br>I do agree with Aaron, that fixing these niggles would help loads to existing and potential new customers. We aren't having a rant (even though my post sound like it) as I personally like the structure of the controls, it's just the niggles of things that don't work properly really spoil the experience, but i'm sure you guys are sorting this out asap <img src="http://forum.codejock.com/smileys/smiley20.gif" border="0" alt="Thumbs Up" title="Thumbs Up" /><br><br>EDIT: Tried SuperMarios code on the CJ DockingPanes MDI sample, it's still not worky <img src="http://forum.codejock.com/smileys/smiley6.gif" border="0" alt="Unhappy" title="Unhappy" /><br>]]>
   </description>
   <pubDate>Fri, 17 Sep 2010 03:30:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17249&amp;PID=60251&amp;title=commandbar-menu-and-docking-panes-on-mdiform#60251</guid>
  </item> 
  <item>
   <title><![CDATA[CommandBar Menu and Docking Panes on MDIForm : Hi SuperMario,  I will try to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17249&amp;PID=60249&amp;title=commandbar-menu-and-docking-panes-on-mdiform#60249</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 17249<br /><strong>Posted:</strong> 17 September 2010 at 3:05am<br /><br />Hi SuperMario,<DIV>&nbsp;</DIV><DIV>I will try to explain a little further why I would like to see this working...</DIV><DIV>&nbsp;</DIV><DIV>A lot of developers have the standard VB menu before using your suite. After a&nbsp;little testing and&nbsp;playing with the samples most of them will find out, if they drop a Commandbars control onto the form, the standard menu will be converted&nbsp;into&nbsp;a more 'sofisticated' menu. Wow that is cool, without changing any code the menu changed, CJ is the best and&nbsp;I <strong>want</strong> to buy these controls for sure <img src="http://forum.codejock.com/smileys/smiley2.gif" height="17" width="17" border="0" alt="Wink" title="Wink" /></DIV><DIV>&nbsp;</DIV><DIV>But then the trouble starts, <strong>see my uploaded sample again</strong>. So my question is: <strong>can it be done or not</strong>? If you would get this working&nbsp;you would gain a lot of customers because VB menu is first thing they would like to change. I think that's why @Hemesh started this thread in the first place...</DIV><DIV>&nbsp;</DIV><DIV>Thanks a lot</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 17 Sep 2010 03:05:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17249&amp;PID=60249&amp;title=commandbar-menu-and-docking-panes-on-mdiform#60249</guid>
  </item> 
  <item>
   <title><![CDATA[CommandBar Menu and Docking Panes on MDIForm : I don&amp;#039;t understand....so...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17249&amp;PID=60247&amp;title=commandbar-menu-and-docking-panes-on-mdiform#60247</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 17249<br /><strong>Posted:</strong> 16 September 2010 at 9:28pm<br /><br />I don't understand....so you want to use our CommandBars or not? &nbsp;Why would you want both ours and standard ugly vb menu\toolbar?]]>
   </description>
   <pubDate>Thu, 16 Sep 2010 21:28:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17249&amp;PID=60247&amp;title=commandbar-menu-and-docking-panes-on-mdiform#60247</guid>
  </item> 
  <item>
   <title><![CDATA[CommandBar Menu and Docking Panes on MDIForm : Hi SuperMario,  I uploaded my...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17249&amp;PID=60246&amp;title=commandbar-menu-and-docking-panes-on-mdiform#60246</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 17249<br /><strong>Posted:</strong> 16 September 2010 at 5:52pm<br /><br />Hi SuperMario,<DIV>&nbsp;</DIV><DIV>I uploaded my sample in my previous reply, please look at that one and add the necessary code</DIV><DIV>&nbsp;</DIV><DIV>Thanks a lot</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 16 Sep 2010 17:52:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17249&amp;PID=60246&amp;title=commandbar-menu-and-docking-panes-on-mdiform#60246</guid>
  </item> 
  <item>
   <title><![CDATA[CommandBar Menu and Docking Panes on MDIForm :    Guess I don&amp;#039;t understand...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17249&amp;PID=60243&amp;title=commandbar-menu-and-docking-panes-on-mdiform#60243</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 17249<br /><strong>Posted:</strong> 16 September 2010 at 1:30pm<br /><br />Guess I don't understand your problem.....the MDIDocking sample is EXACTLY what you just described Aaron.&nbsp; Only Codejock control is DP in that sample.<br><br><img src="uploads/369/dp.png" height="518" width="800" border="0" /><br><br>As for aligned picture boxes WITHOUT commandbars...here is some code:<br><br>Private Sub DockingPaneManager_GetClientBordersWidth(Left As Long, Top As Long, Right As Long, Bottom As Long)<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; Bottom = Picture1.Height<br>&nbsp;&nbsp;&nbsp; Top = Picture2.Height<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; If sbStatusBar.Visible Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Bottom = Bottom + sbStatusBar.Height<br>&nbsp;&nbsp;&nbsp; End If<br>&nbsp;&nbsp;&nbsp; If tbToolBar.Visible Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Top = Top + tbToolBar.Height<br>&nbsp;&nbsp;&nbsp; End If<br>&nbsp;&nbsp;&nbsp; <br>End Sub<br><br><img src="uploads/369/dp2.png" height="451" width="723" border="0" /><br><br>If he does want CommandBars he just needs my RepositionAlignedControls code I already posted.]]>
   </description>
   <pubDate>Thu, 16 Sep 2010 13:30:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17249&amp;PID=60243&amp;title=commandbar-menu-and-docking-panes-on-mdiform#60243</guid>
  </item> 
  <item>
   <title><![CDATA[CommandBar Menu and Docking Panes on MDIForm : Hi SuperMario,   Maybe I don&amp;#039;t...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17249&amp;PID=60240&amp;title=commandbar-menu-and-docking-panes-on-mdiform#60240</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 17249<br /><strong>Posted:</strong> 16 September 2010 at 11:45am<br /><br />Hi SuperMario, <DIV>&nbsp;</DIV><DIV>Maybe I don't understand... I ripped all unnecessary code from same sample. Please add code to position and size VBMenu, Statusbar, Toolbar and&nbsp;panes.</DIV><DIV>&nbsp;</DIV><DIV>I expect Statusbar positioned at the bottom and sized to total with of form. Same for toolbar at the top. Furthermore the panes have to be fully visible.</DIV><DIV>&nbsp;</DIV><DIV>Thanks a lot in advance</DIV><DIV>&nbsp;</DIV><DIV>Uploaded project should be here ??? but seems I can't upload it (where is button?)</DIV><DIV>&nbsp;</DIV><DIV>OK found button <img src="http://forum.codejock.com/smileys/smiley2.gif" height="17" width="17" border="0" alt="Wink" title="Wink" />&nbsp;<a href="http://forum.codejock.com/uploads/3701/MDISample.zip" target="_blank">uploads/3701/MDISample.zip</A></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 16 Sep 2010 11:45:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17249&amp;PID=60240&amp;title=commandbar-menu-and-docking-panes-on-mdiform#60240</guid>
  </item> 
 </channel>
</rss>