<?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 : DialogBar Problem in VB.Net</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : DialogBar Problem in VB.Net]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 14 Jun 2026 22:44:05 +0000</pubDate>
  <lastBuildDate>Mon, 06 Apr 2009 10:08:51 +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=13895</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[DialogBar Problem in VB.Net : Thank you!  Tim ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13895&amp;PID=47601&amp;title=dialogbar-problem-in-vb-net#47601</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4375">TShriver</a><br /><strong>Subject:</strong> 13895<br /><strong>Posted:</strong> 06 April 2009 at 10:08am<br /><br />Thank you!<DIV>&nbsp;</DIV><DIV>Tim</DIV>]]>
   </description>
   <pubDate>Mon, 06 Apr 2009 10:08:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13895&amp;PID=47601&amp;title=dialogbar-problem-in-vb-net#47601</guid>
  </item> 
  <item>
   <title><![CDATA[DialogBar Problem in VB.Net : Hi,  By &amp;#034;it&amp;#034; I mean...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13895&amp;PID=47529&amp;title=dialogbar-problem-in-vb-net#47529</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 13895<br /><strong>Posted:</strong> 03 April 2009 at 12:56am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>By "it" I mean this line "<FONT color=#0000ff size=2><FONT color=#0000ff size=2>Me</FONT></FONT><FONT size=2>.</FONT><FONT color=#020002 size=2><FONT color=#020002 size=2>Controls</FONT></FONT><FONT size=2>.</FONT><FONT color=#020002 size=2><FONT color=#020002 size=2>Remove</FONT></FONT><FONT size=2>(</FONT><FONT color=#020002 size=2><FONT color=#020002 size=2>PanelSummary</FONT></FONT><FONT size=2>)" add "it" before "</FONT><FONT color=#0000ff size=1>DialogBar = CommandBars.AddDialogBar"</DIV></FONT>]]>
   </description>
   <pubDate>Fri, 03 Apr 2009 00:56:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13895&amp;PID=47529&amp;title=dialogbar-problem-in-vb-net#47529</guid>
  </item> 
  <item>
   <title><![CDATA[DialogBar Problem in VB.Net : Oleg,   I&amp;#039;m confused. When...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13895&amp;PID=47496&amp;title=dialogbar-problem-in-vb-net#47496</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4375">TShriver</a><br /><strong>Subject:</strong> 13895<br /><strong>Posted:</strong> 02 April 2009 at 8:50am<br /><br />Oleg, <DIV>&nbsp;</DIV><DIV>I'm confused.&nbsp; When you say "Add it before you setup <FONT color=#020002 size=2><FONT color=#020002 size=2>PanelSummary as Dialog Bar", what is the "it" you are referring too?</FONT></FONT></DIV><DIV><FONT color=#020002 size=2></FONT>&nbsp;</DIV><DIV><FONT color=#020002 size=2>By "it" do you mean I should remove the DialogBar add the child form and then recreate the DialogBar???&nbsp; I've tried that and other combinations.&nbsp; Could you be more specific?</FONT></DIV><DIV><FONT color=#020002 size=2></FONT>&nbsp;</DIV><DIV><FONT color=#020002 size=2>Thanks,</FONT></DIV><DIV><FONT color=#020002 size=2></FONT>&nbsp;</DIV><DIV><FONT color=#020002 size=2>Tim</FONT></DIV><DIV><FONT color=#020002 size=2></FONT>&nbsp;</DIV><DIV><FONT color=#020002 size=2><EM>This is the FormLoad&nbsp;part of the code that was attached in the previous post from the RibbonMDI Sample.</EM></FONT></DIV><DIV><FONT color=#020002 size=2></FONT>&nbsp;</DIV><P align=left><DIV align=left><FONT color=#0000ff size=1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Private Sub frmMain_Load(ByVal eventSender As Object, ByVal eventArgs As System.EventArgs) Handles MyBase.Load<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CreateRibbonBar()</FONT></DIV><DIV align=left><FONT color=#0000ff size=1></FONT>&nbsp;</DIV><DIV align=left><FONT color=#0000ff size=1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CommandBars.KeyBindings.Add(ID.FCONTROL, System.Convert.ToInt32("N"c), ID.ID_FILE_NEW)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CommandBars.KeyBindings.Add(ID.FCONTROL, System.Convert.ToInt32("O"c), ID.ID_FILE_OPEN)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CommandBars.KeyBindings.Add(ID.FCONTROL, System.Convert.ToInt32("S"c), ID.ID_FILE_SAVE)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CommandBars.KeyBindings.Add(ID.FCONTROL, System.Convert.ToInt32("X"c), ID.ID_EDIT_CUT)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CommandBars.KeyBindings.Add(ID.FCONTROL, System.Convert.ToInt32("C"c), ID.ID_EDIT_COPY)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CommandBars.KeyBindings.Add(ID.FCONTROL, System.Convert.ToInt32("V"c), ID.ID_EDIT_PASTE)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CommandBars.KeyBindings.Add(ID.FCONTROL, System.Convert.ToInt32("A"c), ID.ID_EDIT_SELECT_ALL)</FONT></DIV><DIV align=left><FONT color=#0000ff size=1></FONT>&nbsp;</DIV><DIV align=left><FONT color=#0000ff size=1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LoadIcons()</FONT></DIV><DIV align=left><FONT color=#0000ff size=1></FONT>&nbsp;</DIV><DIV align=left><FONT color=#0000ff size=1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim StatusBar As XtremeCommandBars.StatusBar = Nothing<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; StatusBar = CommandBars.StatusBar<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; StatusBar.Visible = True</FONT></DIV><DIV align=left><FONT color=#0000ff size=1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; StatusBar.AddPane(0)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; StatusBar.AddPane(ID.ID_INDICATOR_CAPS)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; StatusBar.AddPane(ID.ID_INDICATOR_NUM)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; StatusBar.AddPane(ID.ID_INDICATOR_SCRL)</FONT></DIV><DIV align=left><FONT color=#0000ff size=1></FONT>&nbsp;</DIV><DIV align=left><FONT color=#0000ff size=1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DialogBar = CommandBars.AddDialogBar("TaskPanel", XtremeCommandBars.XTPBarPosition.xtpBarTop)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DialogBar.Caption = "DialogBar"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DialogBar.EnableAnimation = True<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DialogBar.Closeable = True<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DialogBar.EnableDocking(XtremeCommandBars.XTPToolBarFlags.xtpFlagAlignTop)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DialogBar.Resizable = False<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DialogBar.ChildHandle = PanelSummary.Handle.ToInt32<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DialogBar.ShowGripper = False<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DialogBar.SetSize(1800, 48)</FONT></DIV><DIV align=left><FONT color=#0000ff size=1></FONT>&nbsp;</DIV><DIV align=left><FONT color=#0000ff size=1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RibbonBar().EnableFrameTheme()</FONT></DIV><DIV align=left><FONT color=#0000ff size=1></FONT>&nbsp;</DIV><DIV align=left><FONT color=#0000ff size=1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CommandBars.Options.KeyboardCuesShow = XtremeCommandBars.XTPKeyboardCuesShow.xtpKeyboardCuesShowWindowsDefault</FONT></DIV><DIV align=left><FONT color=#0000ff size=1></FONT>&nbsp;</DIV><DIV align=left><FONT color=#0000ff size=1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim ctrl As Control<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; For Each ctrl In Me.Controls<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If TypeOf ctrl Is MdiClient Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CommandBars.SetMDIClient(ctrl.Handle.ToInt32())<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Next ctrl</FONT></DIV><DIV align=left><FONT color=#0000ff size=1></FONT>&nbsp;</DIV><DIV align=left><FONT color=#0000ff size=1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; '&nbsp;&nbsp;&nbsp;&nbsp; Dim Workspace As XtremeCommandBars.TabWorkspace</FONT></DIV><DIV align=left><FONT color=#0000ff size=1></FONT>&nbsp;</DIV><DIV align=left><FONT color=#0000ff size=1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CommandBars.EnableCustomization(True)</FONT></DIV><DIV align=left><FONT color=#0000ff size=1><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End Sub<BR></DIV></FONT></P>]]>
   </description>
   <pubDate>Thu, 02 Apr 2009 08:50:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13895&amp;PID=47496&amp;title=dialogbar-problem-in-vb-net#47496</guid>
  </item> 
  <item>
   <title><![CDATA[DialogBar Problem in VB.Net : Hi,  Add it before you setup...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13895&amp;PID=47484&amp;title=dialogbar-problem-in-vb-net#47484</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 13895<br /><strong>Posted:</strong> 02 April 2009 at 5:09am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Add it before you setup <FONT color=#020002 size=2><FONT color=#020002 size=2>PanelSummary as Dialog Bar</FONT></FONT></DIV><DIV><FONT color=#0000ff size=2><FONT color=#0000ff size=2></FONT></FONT>&nbsp;</DIV><DIV><FONT color=#0000ff size=2><FONT color=#0000ff size=2>Me</FONT></FONT><FONT size=2>.</FONT><FONT color=#020002 size=2><FONT color=#020002 size=2>Controls</FONT></FONT><FONT size=2>.</FONT><FONT color=#020002 size=2><FONT color=#020002 size=2>Remove</FONT></FONT><FONT size=2>(</FONT><FONT color=#020002 size=2><FONT color=#020002 size=2>PanelSummary</FONT></FONT><FONT size=2>)</DIV></FONT>]]>
   </description>
   <pubDate>Thu, 02 Apr 2009 05:09:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13895&amp;PID=47484&amp;title=dialogbar-problem-in-vb-net#47484</guid>
  </item> 
  <item>
   <title><![CDATA[DialogBar Problem in VB.Net : I have migrated our vb6 code to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13895&amp;PID=47462&amp;title=dialogbar-problem-in-vb-net#47462</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4375">TShriver</a><br /><strong>Subject:</strong> 13895<br /><strong>Posted:</strong> 01 April 2009 at 4:28pm<br /><br /><P>I have migrated our vb6 code to VB.net and have come upon an issue with the DialogBar in an MDI Form.&nbsp; When an MDIchild is present on the form and the parent is resized, the Child flashes in the upper left of the form until the resize event is complete.&nbsp; If there is no DialogBar the form resizes without any strange form drawing ghosts.&nbsp; </P><DIV>In VB6 we used a PictureBox control as the container for the objects.&nbsp; In VB.net the PictureBox is no longer a container so we have used the Panel control as the container.&nbsp; Is there a correct way to use the DialogBar in .net&nbsp;or perhaps a work around? At the end of this post I have attached the CodeJock RibbonMDISample with the addition of a DialogBar to illustrate the problem.</DIV><DIV>&nbsp;</DIV><DIV>Thank you for any help!</DIV><DIV>&nbsp;</DIV><DIV>Tim</DIV><DIV>&nbsp;</DIV><DIV>Here is a screen shot before the Resize:</DIV><DIV><img src="https://forum.codejock.com/uploads/20090401_162409_DialogBar2.gif" border="0"></DIV><DIV>&nbsp;</DIV><DIV>Here is a screen shot during the Resize:</DIV><DIV><img src="https://forum.codejock.com/uploads/20090401_162517_DialogBar3.gif" border="0"></DIV><DIV>&nbsp;</DIV><DIV><a href="https://forum.codejock.com/uploads/20090401_162642_Ribb&#111;nMDISample.zip" target="_blank">uploads/20090401_162642_RibbonMDISample.zip</A></DIV>]]>
   </description>
   <pubDate>Wed, 01 Apr 2009 16:28:00 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13895&amp;PID=47462&amp;title=dialogbar-problem-in-vb-net#47462</guid>
  </item> 
 </channel>
</rss>