<?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 : Whole applicati&#111;n flickers up&#111;n resize</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Whole applicati&#111;n flickers up&#111;n resize]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 20 Apr 2026 23:08:12 +0000</pubDate>
  <lastBuildDate>Thu, 16 Oct 2003 18:03:52 +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=147</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[Whole applicati&#111;n flickers up&#111;n resize : Try adding this to your CMainFrame::PreCreateWindow...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=147&amp;PID=362&amp;title=whole-application-flickers-upon-resize#362</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1">kstowell</a><br /><strong>Subject:</strong> 147<br /><strong>Posted:</strong> 16 October 2003 at 6:03pm<br /><br /><P>Try adding this to your CMainFrame::PreCreateWindow method:</P><SPAN style="FONT-SIZE: 8.5pt; COLOR: black; FONT-FAMILY: Tahoma; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-US; mso-fareast-: EN-US; mso-bidi-: AR-SA"><FONT color=#0000ff><P><FONT face="Courier New, Courier, mono">BOOL</FONT></FONT><FONT face="Courier New, Courier, mono"> <FONT color=#0000ff>CMainFrame</FONT>::<FONT color=#880000>PreCreateWindow</FONT>(<FONT color=#0000ff>CREATESTRUCT</FONT>&amp; <FONT color=#808080>cs</FONT>)<BR></FONT><FONT face="Courier New, Courier, mono">{<BR>&nbsp;&nbsp;&nbsp; </FONT><FONT face="Courier New, Courier, mono"><FONT color=#0000ff>if</FONT>( !<FONT color=#a000a0>CFrameWnd</FONT>::<FONT color=#880000>PreCreateWindow</FONT>(<FONT color=#808080>cs</FONT>) )<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT><FONT face="Courier New, Courier, mono"><FONT color=#0000ff>return</FONT> <FONT color=#a000a0>FALSE</FONT>;</FONT></P><P><FONT color=#008000><FONT face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp;&nbsp;// TODO: Modify the Window class or styles here by modifying<BR>&nbsp;&nbsp;&nbsp; </FONT></FONT><FONT color=#008000><FONT face="Courier New, Courier, mono">// the CREATESTRUCT cs</FONT></P></FONT><P><FONT color=#008000><FONT face="Courier New, Courier, mono"><strong>&nbsp;&nbsp;&nbsp; // Helps to reduce screen flicker.<BR>&nbsp;&nbsp;&nbsp; </strong></FONT></FONT><strong><FONT face="Courier New, Courier, mono"><FONT color=#808080>cs</FONT>.<FONT color=#808080>lpszClass</FONT> = <FONT color=#880000>AfxRegisterWndClass</FONT>(0, <FONT color=#a000a0>NULL</FONT>, <FONT color=#a000a0>NULL</FONT>,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT><FONT face="Courier New, Courier, mono"><FONT color=#880000>AfxGetApp</FONT>()-&gt;<FONT color=#a000a0>LoadIcon</FONT>(<FONT color=#a000a0>IDR_MAINFRAME</FONT>));</FONT></strong></P><P><FONT face="Courier New">&nbsp;&nbsp;&nbsp; <FONT color=#0000ff>return</FONT> <FONT color=#a000a0>TRUE</FONT>;<BR></FONT><FONT face="Courier New, Courier, mono">}<BR></FONT><BR>Let me know if this helps.</P><P>Kind regards,<BR>Codejock Support</P></SPAN>]]>
   </description>
   <pubDate>Thu, 16 Oct 2003 18:03:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=147&amp;PID=362&amp;title=whole-application-flickers-upon-resize#362</guid>
  </item> 
  <item>
   <title><![CDATA[Whole applicati&#111;n flickers up&#111;n resize : I had such problem when in CMainFrame::PreCreateWindow...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=147&amp;PID=336&amp;title=whole-application-flickers-upon-resize#336</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 147<br /><strong>Posted:</strong> 20 September 2003 at 12:01pm<br /><br /><P>I had such problem when in CMainFrame::PreCreateWindow of MDI frame </P><P>call CFrameWnd::PreCreateWindow instead CMDIFrameWnd::PreCreateWindow....</P>]]>
   </description>
   <pubDate>Sat, 20 Sep 2003 12:01:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=147&amp;PID=336&amp;title=whole-application-flickers-upon-resize#336</guid>
  </item> 
  <item>
   <title><![CDATA[Whole applicati&#111;n flickers up&#111;n resize : It seems that is not the case....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=147&amp;PID=335&amp;title=whole-application-flickers-upon-resize#335</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=26">clintsinger</a><br /><strong>Subject:</strong> 147<br /><strong>Posted:</strong> 18 September 2003 at 6:47pm<br /><br /><P>It seems that is not the case.&nbsp; Any other ideas of what would be causing a complete redraw everytime I resize?</P>]]>
   </description>
   <pubDate>Thu, 18 Sep 2003 18:47:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=147&amp;PID=335&amp;title=whole-application-flickers-upon-resize#335</guid>
  </item> 
  <item>
   <title><![CDATA[Whole applicati&#111;n flickers up&#111;n resize : It seems that the main window...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=147&amp;PID=311&amp;title=whole-application-flickers-upon-resize#311</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=150">Sven</a><br /><strong>Subject:</strong> 147<br /><strong>Posted:</strong> 05 September 2003 at 12:25pm<br /><br />It seems that the main window has set the CS_HREDRAW/CS_VREDRAW style. Just define your own window class instead.]]>
   </description>
   <pubDate>Fri, 05 Sep 2003 12:25:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=147&amp;PID=311&amp;title=whole-application-flickers-upon-resize#311</guid>
  </item> 
  <item>
   <title><![CDATA[Whole applicati&#111;n flickers up&#111;n resize : Hi All, I have a ToolkitPro application...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=147&amp;PID=307&amp;title=whole-application-flickers-upon-resize#307</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=26">clintsinger</a><br /><strong>Subject:</strong> 147<br /><strong>Posted:</strong> 03 September 2003 at 5:07pm<br /><br /><P>Hi All,</P><P>I have a ToolkitPro application that I am working on and I am having a problem with the redrawing.&nbsp; When I resize the Main frame window the whole application flickers, including menus,&nbsp;command bars and statusbar.&nbsp; I am using the theme kit as well as the outlook bar.&nbsp; On the right hand side of the outlook bar I have a regular CView derived object which uses CXTMemDC for drawing.&nbsp;I am not sure what I could be doing wrong as the demo applications don't flicker at all.&nbsp; Is it possible that I am using too many resources?</P><P>I am also running my screen resolution at 1600x1200 on a dual Pentium III 866 on Windows XP Professional.</P>]]>
   </description>
   <pubDate>Wed, 03 Sep 2003 17:07:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=147&amp;PID=307&amp;title=whole-application-flickers-upon-resize#307</guid>
  </item> 
 </channel>
</rss>