<?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 : Gap Between Frame and Empty Ribbon</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Gap Between Frame and Empty Ribbon]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 11 Jun 2026 03:46:29 +0000</pubDate>
  <lastBuildDate>Thu, 19 Jun 2008 09:12: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=10643</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[Gap Between Frame and Empty Ribbon : You may think it&amp;#039;s safe,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10643&amp;PID=37001&amp;title=gap-between-frame-and-empty-ribbon#37001</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3003">mrmathis</a><br /><strong>Subject:</strong> 10643<br /><strong>Posted:</strong> 19 June 2008 at 9:12am<br /><br />You may think it's safe, I may think it's safe, and Laurence Olivier may think it's safe, but my boss is not going to allow an update this close to our ship date.&nbsp; Not gonna happen.&nbsp; <img src="https://forum.codejock.com/smileys/smiley19.gif" border="0"><DIV>&nbsp;</DIV><DIV>Now, workarounds, that's a different story.&nbsp;&nbsp;Are there any calls I could make to refresh that part of the screen at strategic times?&nbsp; So far I've tried pFrame-&gt;Invalidate, InvalidateRect, <FONT size=2>RecalcLayout&nbsp;and pRibbon-&gt;Redraw with no success.</FONT></DIV>]]>
   </description>
   <pubDate>Thu, 19 Jun 2008 09:12:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10643&amp;PID=37001&amp;title=gap-between-frame-and-empty-ribbon#37001</guid>
  </item> 
  <item>
   <title><![CDATA[Gap Between Frame and Empty Ribbon : Hello,  11.2.2 has only fixes...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10643&amp;PID=36964&amp;title=gap-between-frame-and-empty-ribbon#36964</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 10643<br /><strong>Posted:</strong> 19 June 2008 at 1:16am<br /><br />Hello,<DIV>&nbsp;</DIV><DIV>11.2.2 has only fixes for 11.2.1.&nbsp; Think its safe to update.</DIV>]]>
   </description>
   <pubDate>Thu, 19 Jun 2008 01:16:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10643&amp;PID=36964&amp;title=gap-between-frame-and-empty-ribbon#36964</guid>
  </item> 
  <item>
   <title><![CDATA[Gap Between Frame and Empty Ribbon : How about just a clue as to where...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10643&amp;PID=36951&amp;title=gap-between-frame-and-empty-ribbon#36951</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3003">mrmathis</a><br /><strong>Subject:</strong> 10643<br /><strong>Posted:</strong> 18 June 2008 at 6:02pm<br /><br />How about just a clue as to where the frame gets drawn?&nbsp; Maybe I can work backwards from there to see a workaround.]]>
   </description>
   <pubDate>Wed, 18 Jun 2008 18:02:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10643&amp;PID=36951&amp;title=gap-between-frame-and-empty-ribbon#36951</guid>
  </item> 
  <item>
   <title><![CDATA[Gap Between Frame and Empty Ribbon : Yes, I can causethis in your RibbonSample...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10643&amp;PID=36804&amp;title=gap-between-frame-and-empty-ribbon#36804</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3003">mrmathis</a><br /><strong>Subject:</strong> 10643<br /><strong>Posted:</strong> 16 June 2008 at 4:25pm<br /><br /><P dir=ltr style="MARGIN-RIGHT: 0px"><FONT color=#000000 size=2>Yes, I can cause&nbsp;this in your RibbonSample in 11.2.0 and 11.2.1 by commenting out a few lines, or just by playing some debugger magic.&nbsp; It doesn't happen in 11.2.2 or 12.0.&nbsp; I know you are going to tell me to upgrade, but I simply cannot do that at this stage of my release cycle.&nbsp; My shop is very strict about when new libraries are acceptable, and that time is in my rearview mirror for this release.</FONT></P><P><FONT color=#000000 size=2>Here's how to reproduce it.&nbsp; Set a break in RibbonMDISample.cpp / CRibbonMDISampleApp::InitInstance&nbsp;at the call to ProcessShellCommand.&nbsp; Deposit a -1 in cmdInfo.m_nShellCommand (to prevent a default document from being created).&nbsp; Set another break in MainFrm.cpp / </FONT><FONT color=#000000 size=2>CMainFrame::CreateRibbonBar at the call to </FONT><FONT color=#000000><FONT size=2>pRibbonBar-&gt;AddTab(ID_TAB_HOME</FONT><FONT size=2>);&nbsp; Don't let that execute; instead, just do a "set next statement" down to </FONT></FONT></P><P dir=ltr style="MARGIN-RIGHT: 0px"><FONT color=#000000><FONT size=2>pRibbonBar-&gt;EnableFrameTheme</FONT><FONT size=2>();.&nbsp; That should be all it takes to see the same black bar.</FONT></FONT></P><P><FONT color=#000000 size=2>Is there any way to work around this in 11.2.0, or a simple fix that could be pulled back?&nbsp; I've tried calling pFrame-&gt;RecalcLayout&nbsp;and pRibbon-&gt;Redraw(0,FALSE) right after I create the ribbon, but that didn't help.&nbsp; The frame wasn't on the screen yet, so that may have been too early.</FONT></P><P><FONT color=#000000 size=2>Thanks.</FONT></P>]]>
   </description>
   <pubDate>Mon, 16 Jun 2008 16:25:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10643&amp;PID=36804&amp;title=gap-between-frame-and-empty-ribbon#36804</guid>
  </item> 
  <item>
   <title><![CDATA[Gap Between Frame and Empty Ribbon : Hi,  Do you see same with our...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10643&amp;PID=35278&amp;title=gap-between-frame-and-empty-ribbon#35278</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 10643<br /><strong>Posted:</strong> 16 May 2008 at 1:30am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Do you see same with our RibbonSample? Can you try to modify it to see same ?</DIV>]]>
   </description>
   <pubDate>Fri, 16 May 2008 01:30:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10643&amp;PID=35278&amp;title=gap-between-frame-and-empty-ribbon#35278</guid>
  </item> 
  <item>
   <title><![CDATA[Gap Between Frame and Empty Ribbon : When my MDI app starts up, the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10643&amp;PID=35262&amp;title=gap-between-frame-and-empty-ribbon#35262</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3003">mrmathis</a><br /><strong>Subject:</strong> 10643<br /><strong>Posted:</strong> 15 May 2008 at 5:49pm<br /><br />When my MDI app starts up, the ribbon is empty and no documents are open (intentionally).&nbsp; In that state, I'm seeing a black gap between the frame and the empty ribbon.<DIV>&nbsp;</DIV><DIV>&nbsp; <img src="https://forum.codejock.com/uploads/20080515_174406_GapPresent.png" border="0"></DIV><DIV>&nbsp;</DIV><DIV>If I resize the frame slightly, that area repaints correctly.</DIV><DIV>&nbsp;</DIV><DIV><img src="https://forum.codejock.com/uploads/20080515_174511_GapAbsent.png" border="0"></DIV><DIV>&nbsp;</DIV><DIV>This is not the only way I can get into this state, but it is the most glaring, since it's the first thing my user sees.&nbsp; Any guesses on what is causing this?</DIV>]]>
   </description>
   <pubDate>Thu, 15 May 2008 17:49:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10643&amp;PID=35262&amp;title=gap-between-frame-and-empty-ribbon#35262</guid>
  </item> 
 </channel>
</rss>