<?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 : Tiling windows on XP fails for CodeJock apps</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Tiling windows on XP fails for CodeJock apps]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 21 Apr 2026 21:43:41 +0000</pubDate>
  <lastBuildDate>Mon, 10 Aug 2009 09:34:05 +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=14917</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[Tiling windows on XP fails for CodeJock apps : Btw, BCG does not suffer from...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14917&amp;PID=51815&amp;title=tiling-windows-on-xp-fails-for-codejock-apps#51815</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 14917<br /><strong>Posted:</strong> 10 August 2009 at 9:34am<br /><br />Btw, BCG does not suffer from this Win+M issue...]]>
   </description>
   <pubDate>Mon, 10 Aug 2009 09:34:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14917&amp;PID=51815&amp;title=tiling-windows-on-xp-fails-for-codejock-apps#51815</guid>
  </item> 
  <item>
   <title><![CDATA[Tiling windows on XP fails for CodeJock apps : I guess you could do this the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14917&amp;PID=51814&amp;title=tiling-windows-on-xp-fails-for-codejock-apps#51814</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 14917<br /><strong>Posted:</strong> 10 August 2009 at 9:33am<br /><br />I guess you could do this the ridiculously hard way:<DIV>&nbsp;</DIV><DIV>Hijack GetWindowLong (and similar) and return style ORed with WS_CAPTION :P.</DIV>]]>
   </description>
   <pubDate>Mon, 10 Aug 2009 09:33:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14917&amp;PID=51814&amp;title=tiling-windows-on-xp-fails-for-codejock-apps#51814</guid>
  </item> 
  <item>
   <title><![CDATA[Tiling windows on XP fails for CodeJock apps : I would assume that Office just...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14917&amp;PID=51811&amp;title=tiling-windows-on-xp-fails-for-codejock-apps#51811</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3213">rdhd</a><br /><strong>Subject:</strong> 14917<br /><strong>Posted:</strong> 10 August 2009 at 8:56am<br /><br />I would assume that Office just paints the frame when the nc paint message is sent. That is, they just avoid default frame painting by Windows.]]>
   </description>
   <pubDate>Mon, 10 Aug 2009 08:56:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14917&amp;PID=51811&amp;title=tiling-windows-on-xp-fails-for-codejock-apps#51811</guid>
  </item> 
  <item>
   <title><![CDATA[Tiling windows on XP fails for CodeJock apps : Hi,  Thanks, We tried alot of...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14917&amp;PID=51684&amp;title=tiling-windows-on-xp-fails-for-codejock-apps#51684</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 14917<br /><strong>Posted:</strong> 07 August 2009 at 4:08am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Thanks, We tried&nbsp; alot of different combinations with WS_CAPTION styles/without. Each time some problem appear - task bar or blinking default buttons. Wish to know how Office handle it - guess it some hidden API method that Microsoft call or some driver thing that set internal user32 caption bits.</DIV>]]>
   </description>
   <pubDate>Fri, 07 Aug 2009 04:08:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14917&amp;PID=51684&amp;title=tiling-windows-on-xp-fails-for-codejock-apps#51684</guid>
  </item> 
  <item>
   <title><![CDATA[Tiling windows on XP fails for CodeJock apps : Oleg,  Regarding the posts earlier...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14917&amp;PID=51657&amp;title=tiling-windows-on-xp-fails-for-codejock-apps#51657</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3213">rdhd</a><br /><strong>Subject:</strong> 14917<br /><strong>Posted:</strong> 06 August 2009 at 12:25pm<br /><br />Oleg,<DIV>&nbsp;</DIV><DIV>Regarding the posts earlier on this topic I made:</DIV><DIV>&nbsp;</DIV><DIV>I have managed to alleviate this problem by implementing OnNcPaint where I remove the WS_CAPTION style, call CXTPMDIFrameWnd::OnNcPaint and then add the caption style back. That allows the 2007 frame to participate in tiling.</DIV><DIV>&nbsp;</DIV><DIV>I still have a slight issue where the underlying icons can sometimes be drawn and&nbsp;of course I have to stop in debug and skip your call to remove the WS_CAPTION.</DIV><DIV>&nbsp;</DIV><DIV>This change also seems to affect the "windows key + m" (minimize all apps issue too). When I do the above (leave the WS_CAPTION style on the frame), I find that after minimizing all apps, I can bring our app back to life much more often and when it fails to come back, I can click the icon in the task bar (usually twice) and the app restores to the maximized state.</DIV><DIV>&nbsp;</DIV><DIV>I think the icon display issue (and perhaps the mimizing issue) can be solved by removing and re-adding the WS_CAPTION style settings in <FONT size=2>CXTPOffice2007FrameHook::OnHookMessage at the appropriate (yet to be determined) places. It does seem odd to me that since you are drawing your own frame, that you even let OnNcPaint call the default message handler (CXTPMDIFrameWnd does not implement OnNcPaint when the office 2007 theme is running).</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>By the way, If I don't skip the code that removes the WS_CAPTION style, it appears that when I key in Windows+m, I actually see that the frame window has BOTH the WS_MINIMIZE and WS_MAXIMIZE styles set. This is why the frame will not restore itself and is also why windows disables both the "maximize" and "minimze" commands on the task bar's shortcut menu for our app.</FONT></DIV>]]>
   </description>
   <pubDate>Thu, 06 Aug 2009 12:25:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14917&amp;PID=51657&amp;title=tiling-windows-on-xp-fails-for-codejock-apps#51657</guid>
  </item> 
 </channel>
</rss>