<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Foxpro Menu items, combo boxes not refreshing selected item under Aero in Vista</title><link>http://blogs.msdn.com/calvin_hsia/archive/2007/04/26/foxpro-menu-items-combo-boxes-not-refreshing-selected-item-under-aero-in-vista.aspx</link><description>If you’re running a Foxpro application under Vista when using Aero , you might encounter a problem when scrolling through lists, such as intellisense dropdowns, comboboxes, menus. As you move from one item in the list to the next, each item in turn appears</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Foxpro Menu items, combo boxes not refreshing selected item under Aero in Vista</title><link>http://blogs.msdn.com/calvin_hsia/archive/2007/04/26/foxpro-menu-items-combo-boxes-not-refreshing-selected-item-under-aero-in-vista.aspx#2296248</link><pubDate>Fri, 27 Apr 2007 09:38:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2296248</guid><dc:creator>Halasz</dc:creator><description>&lt;p&gt;Calvin, thank you for solution ! It works great :-) &lt;/p&gt;
&lt;p&gt;Tom Halasz&lt;/p&gt;
</description></item><item><title>re: Foxpro Menu items, combo boxes not refreshing selected item under Aero in Vista</title><link>http://blogs.msdn.com/calvin_hsia/archive/2007/04/26/foxpro-menu-items-combo-boxes-not-refreshing-selected-item-under-aero-in-vista.aspx#2299345</link><pubDate>Fri, 27 Apr 2007 15:52:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2299345</guid><dc:creator>Dominic Webb</dc:creator><description>&lt;p&gt;This works, but still leaves the problem of the corrupting Window title bars (for non-resizable forms). Is there a workaround for this, and will this be fixed in SP2?&lt;/p&gt;
</description></item><item><title>re: Foxpro Menu items, combo boxes not refreshing selected item under Aero in Vista</title><link>http://blogs.msdn.com/calvin_hsia/archive/2007/04/26/foxpro-menu-items-combo-boxes-not-refreshing-selected-item-under-aero-in-vista.aspx#2299741</link><pubDate>Fri, 27 Apr 2007 16:47:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2299741</guid><dc:creator>Markus Winhard</dc:creator><description>&lt;p&gt;Hi Calvin,&lt;/p&gt;
&lt;p&gt;vfp9 on vista is also not painting the NonClientArea of a form correctly if the form isn't sizable (as Dominic mentioned). The problem also occurs after the form was partly moved outside the visible area, e.g. below the lower border of the vfp screen.&lt;/p&gt;
&lt;p&gt;I assume vista is blocking some window message. When you run vfp as administrator (e.g. from the context menu) the problem is gone.&lt;/p&gt;
&lt;p&gt;So, is there a way around it, too?&lt;/p&gt;
&lt;p&gt;Markus&lt;/p&gt;
</description></item><item><title>re: Foxpro Menu items, combo boxes not refreshing selected item under Aero in Vista</title><link>http://blogs.msdn.com/calvin_hsia/archive/2007/04/26/foxpro-menu-items-combo-boxes-not-refreshing-selected-item-under-aero-in-vista.aspx#2300165</link><pubDate>Fri, 27 Apr 2007 17:51:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2300165</guid><dc:creator>Ricardo Almeida</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Just add this code to your INIT event of your form:&lt;/p&gt;
&lt;p&gt;LOCAL lnBorderStyle&lt;/p&gt;
&lt;p&gt;lnBorderStyle = this.BorderStyle &lt;/p&gt;
&lt;p&gt;ACTIVATE WINDOW (THIS.NAME) IN SCREEN NOSHOW&lt;/p&gt;
&lt;p&gt;this.BorderStyle = lnBorderStyle&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Ricardo Almeida&lt;/p&gt;
</description></item><item><title>Fix your forms to paint borders correctly under Vista Aero</title><link>http://blogs.msdn.com/calvin_hsia/archive/2007/04/26/foxpro-menu-items-combo-boxes-not-refreshing-selected-item-under-aero-in-vista.aspx#2306133</link><pubDate>Sat, 28 Apr 2007 03:39:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2306133</guid><dc:creator>Calvin Hsia's WebLog</dc:creator><description>&lt;p&gt;Apparently, the borders of some forms don’t get painted correctly on Windows Vista. When executing a&lt;/p&gt;
</description></item><item><title>re: Foxpro Menu items, combo boxes not refreshing selected item under Aero in Vista</title><link>http://blogs.msdn.com/calvin_hsia/archive/2007/04/26/foxpro-menu-items-combo-boxes-not-refreshing-selected-item-under-aero-in-vista.aspx#2331685</link><pubDate>Mon, 30 Apr 2007 02:04:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2331685</guid><dc:creator>Markus Winhard</dc:creator><description>&lt;p&gt;Hi Ricardo,&lt;/p&gt;
&lt;p&gt;thank you for this tip. It turned out that it even works without setting BorderStyle again after ACTIVATE WINDOW.&lt;/p&gt;
&lt;p&gt;Just in case someone needs a solution for forms shown in top level form, too, take a look at &lt;a rel="nofollow" target="_new" href="http://www.bingo-ev.de/~mw368/vfp9_vista.html"&gt;http://www.bingo-ev.de/~mw368/vfp9_vista.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Markus&lt;/p&gt;
</description></item><item><title>Vista Aero DWM seems to optimize out GDI paint calls</title><link>http://blogs.msdn.com/calvin_hsia/archive/2007/04/26/foxpro-menu-items-combo-boxes-not-refreshing-selected-item-under-aero-in-vista.aspx#2401928</link><pubDate>Fri, 04 May 2007 02:53:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2401928</guid><dc:creator>Calvin Hsia's WebLog</dc:creator><description>&lt;p&gt;In this post: Foxpro Menu items, combo boxes not refreshing selected item under Aero in Vista I describe&lt;/p&gt;
</description></item><item><title>VFP9 SP2 / SEDNA USEFUL LINKS</title><link>http://blogs.msdn.com/calvin_hsia/archive/2007/04/26/foxpro-menu-items-combo-boxes-not-refreshing-selected-item-under-aero-in-vista.aspx#4329177</link><pubDate>Sat, 11 Aug 2007 07:08:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4329177</guid><dc:creator>Cesar Chalom</dc:creator><description>&lt;p&gt;Here are some of the links that I often visit regarding VFP9 SP2 and Sedna. The official Microsoft Visual...&lt;/p&gt;
</description></item><item><title>re: Foxpro Menu items, combo boxes not refreshing selected item under Aero in Vista</title><link>http://blogs.msdn.com/calvin_hsia/archive/2007/04/26/foxpro-menu-items-combo-boxes-not-refreshing-selected-item-under-aero-in-vista.aspx#5517434</link><pubDate>Fri, 19 Oct 2007 06:48:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5517434</guid><dc:creator>KennethTamayo</dc:creator><description>&lt;p&gt;DECLARE integer GdiSetBatchLimit IN WIN32API integer&lt;/p&gt;
&lt;p&gt;GdiSetBatchLimit(1)&lt;/p&gt;
&lt;p&gt;The above indeed works perfectly (at least in Windows Vista Home Premium) in AutoComplete functions, however, complying/deploying SP2 by itself did not prevent the reported display errors &amp;quot;showing multiple selected items&amp;quot;... The two magic lines were required in order to avoid this display problem.&lt;/p&gt;
</description></item><item><title>re: Foxpro Menu items, combo boxes not refreshing selected item under Aero in Vista</title><link>http://blogs.msdn.com/calvin_hsia/archive/2007/04/26/foxpro-menu-items-combo-boxes-not-refreshing-selected-item-under-aero-in-vista.aspx#6767994</link><pubDate>Fri, 14 Dec 2007 08:56:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6767994</guid><dc:creator>Jim Norton</dc:creator><description>&lt;p&gt;On a related issue, is there any reason why on Aero enabled (on Vista with Aero) floating forms (so those with showwindow&amp;gt;0) the closing 'X' (top right) is showing as enabled (red in colour) at all times, even if the closable property is false. You can't click it, but it's still red. All forms with showwindow=0 still have old style smaller 'X' boxes, and they correctly display Red or Grey to show enabled or Disabled status.&lt;/p&gt;
&lt;p&gt;I've already applied the Combo Box and Graphic refresh fixes for Vista to the forms, but they still have the problem.&lt;/p&gt;
&lt;p&gt;Anyone have any ideas?&lt;/p&gt;
</description></item><item><title>re: Foxpro Menu items, combo boxes not refreshing selected item under Aero in Vista</title><link>http://blogs.msdn.com/calvin_hsia/archive/2007/04/26/foxpro-menu-items-combo-boxes-not-refreshing-selected-item-under-aero-in-vista.aspx#9470771</link><pubDate>Wed, 11 Mar 2009 20:13:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9470771</guid><dc:creator>Daniel</dc:creator><description>&lt;p&gt;This combobox bug is still not solved in 2009!&lt;/p&gt;
</description></item></channel></rss>