<?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 : Major drawing bug in v12.0.1!</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Major drawing bug in v12.0.1!]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 22 Apr 2026 18:25:01 +0000</pubDate>
  <lastBuildDate>Tue, 19 Aug 2008 15:42:29 +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=11879</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[Major drawing bug in v12.0.1! : Hi,  Add in constructor  X...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11879&amp;PID=40109&amp;title=major-drawing-bug-in-v12-0-1#40109</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11879<br /><strong>Posted:</strong> 19 August 2008 at 3:42pm<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Add in constructor</DIV><DIV>&nbsp;</DIV><DIV>XTPOffice2007Images()-&gt;SetImageHandle(AfxGetInstanceHandle(), "OFFICE2007BLACK.INI");</DIV>]]>
   </description>
   <pubDate>Tue, 19 Aug 2008 15:42:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11879&amp;PID=40109&amp;title=major-drawing-bug-in-v12-0-1#40109</guid>
  </item> 
  <item>
   <title><![CDATA[Major drawing bug in v12.0.1! : Not sure if that would work, but...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11879&amp;PID=40101&amp;title=major-drawing-bug-in-v12-0-1#40101</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 11879<br /><strong>Posted:</strong> 19 August 2008 at 10:36am<br /><br />Not sure if that would work, but I want to be able to switch between the color modes, so it's not an option!<DIV>&nbsp;</DIV><DIV>All I want is to default to black, without having to repaint all controls one extra time.</DIV>]]>
   </description>
   <pubDate>Tue, 19 Aug 2008 10:36:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11879&amp;PID=40101&amp;title=major-drawing-bug-in-v12-0-1#40101</guid>
  </item> 
  <item>
   <title><![CDATA[Major drawing bug in v12.0.1! :    znakeeye wrote:      Anyway,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11879&amp;PID=40100&amp;title=major-drawing-bug-in-v12-0-1#40100</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1755">ABuenger</a><br /><strong>Subject:</strong> 11879<br /><strong>Posted:</strong> 19 August 2008 at 10:25am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by znakeeye" alt="Originally posted by znakeeye" style="vertical-align: text-bottom;" /> <strong>znakeeye wrote:</strong><br /><br /><div></div><div></div><div></div><div></div><div><strong>Anyway, my question remains:</strong></div><div>How do I activate black theme before any windows are created using the blue theme?</div></td></tr></table><br><br>Only link statically against the black theme?<br><br>]]>
   </description>
   <pubDate>Tue, 19 Aug 2008 10:25:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11879&amp;PID=40100&amp;title=major-drawing-bug-in-v12-0-1#40100</guid>
  </item> 
  <item>
   <title><![CDATA[Major drawing bug in v12.0.1! : Damn this SP1! I believe MFC 10...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11879&amp;PID=40091&amp;title=major-drawing-bug-in-v12-0-1#40091</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 11879<br /><strong>Posted:</strong> 19 August 2008 at 9:01am<br /><br />Damn this SP1! I believe MFC 10 is bloated with this ribbon sh*t from BCG <img src="http://forum.codejock.com/smileys/smiley13.gif" border="0"><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV>&nbsp;</DIV><DIV><strong>Anyway, my question remains:</strong></DIV><DIV>How do I activate black theme before any windows are created using the blue theme?</DIV>]]>
   </description>
   <pubDate>Tue, 19 Aug 2008 09:01:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11879&amp;PID=40091&amp;title=major-drawing-bug-in-v12-0-1#40091</guid>
  </item> 
  <item>
   <title><![CDATA[Major drawing bug in v12.0.1! :    znakeeye wrote:In any case,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11879&amp;PID=40087&amp;title=major-drawing-bug-in-v12-0-1#40087</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1755">ABuenger</a><br /><strong>Subject:</strong> 11879<br /><strong>Posted:</strong> 19 August 2008 at 7:55am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by znakeeye" alt="Originally posted by znakeeye" style="vertical-align: text-bottom;" /> <strong>znakeeye wrote:</strong><br /><br /><div>In any case, your code should yield an ASSERT when the above mistake is made!</div></td></tr></table><br><br>InitCommandBars() has no idea about your statusbar, maybe you don't even want one? It's MFC 101 that the statusbar needs to be created before the other bars <img src="http://forum.codejock.com/smileys/smiley2.gif" border="0" align="absmiddle"><br><br>]]>
   </description>
   <pubDate>Tue, 19 Aug 2008 07:55:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11879&amp;PID=40087&amp;title=major-drawing-bug-in-v12-0-1#40087</guid>
  </item> 
  <item>
   <title><![CDATA[Major drawing bug in v12.0.1! : In any case, your code should...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11879&amp;PID=40084&amp;title=major-drawing-bug-in-v12-0-1#40084</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 11879<br /><strong>Posted:</strong> 19 August 2008 at 5:54am<br /><br /><DIV>In any case, your code should yield an ASSERT when the above mistake is made!</DIV><DIV>&nbsp;</DIV><DIV><strong>Some thoughts...</strong></DIV><DIV>I call InitCommandBars before CView::OnCreate, to be able to set the office 2007-colors (black)&nbsp;<EM>before</EM> any 2007-themed controls are created (reports etc). I want to do this, because I do not like this sequence:</DIV><DIV>&nbsp;</DIV><DIV>1) Create windows with 2007-theme (BLUE)</DIV><DIV>2) Init Commandbars</DIV><DIV>3) Change image handle of Commandbars</DIV><DIV>4) <strong>Update all 2007-themed controls to BLACK</strong></DIV><DIV>&nbsp;</DIV><DIV>It should be possible to do this:</DIV><DIV>1) Create windows with 2007-theme (<strong>BLACK</strong>)<BR>2) Init Commandbars</DIV><DIV>&nbsp;</DIV><DIV>Do you see my point? :)</DIV>]]>
   </description>
   <pubDate>Tue, 19 Aug 2008 05:54:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11879&amp;PID=40084&amp;title=major-drawing-bug-in-v12-0-1#40084</guid>
  </item> 
  <item>
   <title><![CDATA[Major drawing bug in v12.0.1! : Hello,  Yes, its problem of...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11879&amp;PID=40079&amp;title=major-drawing-bug-in-v12-0-1#40079</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11879<br /><strong>Posted:</strong> 19 August 2008 at 4:58am<br /><br />Hello,<DIV>&nbsp;</DIV><DIV>Yes, its problem of order. Create statusBar before you call InitCommandBars.</DIV>]]>
   </description>
   <pubDate>Tue, 19 Aug 2008 04:58:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11879&amp;PID=40079&amp;title=major-drawing-bug-in-v12-0-1#40079</guid>
  </item> 
  <item>
   <title><![CDATA[Major drawing bug in v12.0.1! : No, the order has no effect. And...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11879&amp;PID=40078&amp;title=major-drawing-bug-in-v12-0-1#40078</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 11879<br /><strong>Posted:</strong> 19 August 2008 at 4:56am<br /><br /><P>No, the order has no effect. And even if it did, the bug would still be relevant.</P>]]>
   </description>
   <pubDate>Tue, 19 Aug 2008 04:56:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11879&amp;PID=40078&amp;title=major-drawing-bug-in-v12-0-1#40078</guid>
  </item> 
  <item>
   <title><![CDATA[Major drawing bug in v12.0.1! : In which order do you create them?...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11879&amp;PID=40077&amp;title=major-drawing-bug-in-v12-0-1#40077</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1755">ABuenger</a><br /><strong>Subject:</strong> 11879<br /><strong>Posted:</strong> 19 August 2008 at 4:35am<br /><br />In which order do you create them? Try changing the order.<br><br>]]>
   </description>
   <pubDate>Tue, 19 Aug 2008 04:35:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11879&amp;PID=40077&amp;title=major-drawing-bug-in-v12-0-1#40077</guid>
  </item> 
  <item>
   <title><![CDATA[Major drawing bug in v12.0.1! : XTP 12.0.1.  When I add a toolbar...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11879&amp;PID=40069&amp;title=major-drawing-bug-in-v12-0-1#40069</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 11879<br /><strong>Posted:</strong> 19 August 2008 at 3:00am<br /><br /><P>XTP 12.0.1.</P><DIV></DIV><DIV></DIV>When I add a toolbar to my "office 2007"-themed application and place it at the <EM>bottom right,</EM> the status bar is obscured. If I try resizing the window the status bar is screwed up. <DIV>&nbsp;</DIV><DIV><img src="http://forum.codejock.com/uploads/20080819_025447_toolbar_bug_120.bmp" border="0"></DIV><DIV>&nbsp;</DIV><DIV>Not to hard to reproduce. Just add a status bar and a toolbar and place it at the bottom right.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>The same problem is encountered when the toolbar is attached at the bottom:</DIV><DIV>&nbsp;</DIV><DIV><img src="http://forum.codejock.com/uploads/20080819_030317_strange_status.bmp" border="0">&nbsp;&lt;---</DIV><DIV>&nbsp;</DIV><DIV>Looks weird, and when resize-dragging the status bar, you get the same effect...</DIV><DIV>&nbsp;</DIV><DIV>Also worth mentioning; the window somehow repairs itself after playing around a bit. So, it seems this is an "initial state" bug.</DIV>]]>
   </description>
   <pubDate>Tue, 19 Aug 2008 03:00:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11879&amp;PID=40069&amp;title=major-drawing-bug-in-v12-0-1#40069</guid>
  </item> 
 </channel>
</rss>