<?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 : Vista Aero / Ribbon / Skin issue</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Skin Framework : Vista Aero / Ribbon / Skin issue]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 06 Apr 2026 00:18:15 +0000</pubDate>
  <lastBuildDate>Thu, 18 Sep 2008 03:40:56 +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=11914</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[Vista Aero / Ribbon / Skin issue : uploads/20080918_222232_VistaAero.zipThanks...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11914&amp;PID=41133&amp;title=vista-aero-ribbon-skin-issue#41133</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4246">Rmoz</a><br /><strong>Subject:</strong> 11914<br /><strong>Posted:</strong> 18 September 2008 at 3:40am<br /><br /><DIV><a href="https://forum.codejock.com/uploads/20080918_222232_VistaAero.zip" target="_blank">uploads/20080918_222232_VistaAero.zip</A>Thanks for everybodies help thus far, apologies Oleg, the RemoveWindow does half solve the issue. </DIV><DIV>&nbsp;</DIV><DIV>If we use RemoveWindow on the form that contains the SkinFramwork Control, all is well and good. If a form is then opened by the 'main' form (i.e one that does not contain a skinframework) it opens fine until the use chooses a new theme. I should mention that we have designed our app then when the user chooses a new theme its is applied to all open windows. </DIV><DIV>&nbsp;</DIV><DIV>Do we have any means of controlling how the&nbsp;skin applies to forms that do not contain the control.</DIV><DIV>&nbsp;</DIV><DIV>I have tried turning off the ApplyToNewWindows setting and manually applying to new windows but due to application constraints we cannot use this without a whole lot of reworking.</DIV><DIV>&nbsp;</DIV><DIV>Thanks again to all!</DIV><DIV>&nbsp;</DIV><DIV>I have uploaded a sample app. You will need to place the ribbon DLL's &amp; skin file to a Styles Folder in App.Path. Under Vista with the full Aero theme on, you can see the issues in the Sub Form.</DIV><DIV>&nbsp;</DIV><DIV>Thanks again.</DIV>]]>
   </description>
   <pubDate>Thu, 18 Sep 2008 03:40:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11914&amp;PID=41133&amp;title=vista-aero-ribbon-skin-issue#41133</guid>
  </item> 
  <item>
   <title><![CDATA[Vista Aero / Ribbon / Skin issue : Following is my version of checking...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11914&amp;PID=41046&amp;title=vista-aero-ribbon-skin-issue#41046</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3565">jshan</a><br /><strong>Subject:</strong> 11914<br /><strong>Posted:</strong> 16 September 2008 at 5:06am<br /><br /><DIV>Following is my version of checking AeroEnabled in VC++.</DIV><DIV>I don't know much about VB. so change the code to VB yourself.</DIV><DIV>&nbsp;</DIV><DIV><table width="99%"><tr><td><pre class="BBcode"></DIV><DIV>typedef BOOL (WINAPI *pDLLQuery)(OUT BOOL *bEnable);<BR>BOOL IsVistaAeroEnabled()<BR>{<BR>&nbsp;&nbsp;&nbsp; HMODULE hLib = ::LoadLibrary(L"dwmapi.dll");<BR>&nbsp;&nbsp;&nbsp; BOOL bResult = FALSE;</DIV><P>&nbsp;&nbsp;&nbsp; if (hLib != NULL)<BR>&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;pDLLQuery cbFunc;<BR>&nbsp;&nbsp;cbFunc = (pDLLQuery)::GetProcAddress(hLib, "DwmIsCompositionEnabled");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (cbFunc != NULL )<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; BOOL bEnabled = FALSE;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bResult = SUCCEEDED(cbFunc(&amp;bEnabled)) &amp;&amp; bEnabled;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ::FreeLibrary(hLib);<BR>&nbsp;&nbsp;&nbsp; }</P><P>&nbsp;&nbsp;&nbsp; return bResult;<BR>}<BR></pre></td></tr></table></P><DIV></DIV>]]>
   </description>
   <pubDate>Tue, 16 Sep 2008 05:06:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11914&amp;PID=41046&amp;title=vista-aero-ribbon-skin-issue#41046</guid>
  </item> 
  <item>
   <title><![CDATA[Vista Aero / Ribbon / Skin issue : Hi,   Is there anything that...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11914&amp;PID=40239&amp;title=vista-aero-ribbon-skin-issue#40239</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4246">Rmoz</a><br /><strong>Subject:</strong> 11914<br /><strong>Posted:</strong> 21 August 2008 at 11:50pm<br /><br />Hi, <DIV>&nbsp;</DIV><DIV>Is there anything that we can do with this issue ?? Would supplying you with a sample app help ??</DIV><DIV>&nbsp;</DIV><DIV>I don't mean to hassle you, but if we cannot get a solution for this, it means we cannot support Vista Aero in our application.</DIV><DIV>&nbsp;</DIV><DIV>Thanks.</DIV>]]>
   </description>
   <pubDate>Thu, 21 Aug 2008 23:50:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11914&amp;PID=40239&amp;title=vista-aero-ribbon-skin-issue#40239</guid>
  </item> 
  <item>
   <title><![CDATA[Vista Aero / Ribbon / Skin issue :    Rmoz wrote:Now we can detect...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11914&amp;PID=40205&amp;title=vista-aero-ribbon-skin-issue#40205</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1755">ABuenger</a><br /><strong>Subject:</strong> 11914<br /><strong>Posted:</strong> 21 August 2008 at 4:47am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by Rmoz" alt="Originally posted by Rmoz" style="vertical-align: text-bottom;" /> <strong>Rmoz wrote:</strong><br /><br /><br><div>Now we can detect the AeroTheme via the GetCurrentSystemTheme method, but the Vista Basic theme also reports as aero and we have no issues with that theme.</div></td></tr></table><br><br>DwmIsCompositionEnabled:<br><a href="http://msdn.microsoft.com/en-us/library/aa969518%28VS.85%29.aspx" target="_blank">http://msdn.microsoft.com/en-us/library/aa969518(VS.85).aspx</a><br><br>]]>
   </description>
   <pubDate>Thu, 21 Aug 2008 04:47:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11914&amp;PID=40205&amp;title=vista-aero-ribbon-skin-issue#40205</guid>
  </item> 
  <item>
   <title><![CDATA[Vista Aero / Ribbon / Skin issue : Hi Oleg,  Thanks for the very...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11914&amp;PID=40201&amp;title=vista-aero-ribbon-skin-issue#40201</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4246">Rmoz</a><br /><strong>Subject:</strong> 11914<br /><strong>Posted:</strong> 21 August 2008 at 2:45am<br /><br />Hi Oleg,<DIV>&nbsp;</DIV><DIV>Thanks for the very quick respomse, unfortunately it didn't seem to do the trick.....</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 21 Aug 2008 02:45:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11914&amp;PID=40201&amp;title=vista-aero-ribbon-skin-issue#40201</guid>
  </item> 
  <item>
   <title><![CDATA[Vista Aero / Ribbon / Skin issue : Hello, Try remove main window...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11914&amp;PID=40198&amp;title=vista-aero-ribbon-skin-issue#40198</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11914<br /><strong>Posted:</strong> 21 August 2008 at 1:53am<br /><br />Hello,<DIV>Try remove main window from skinning:</DIV><DIV>SkinFramework.Remove me.hwnd</DIV>]]>
   </description>
   <pubDate>Thu, 21 Aug 2008 01:53:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11914&amp;PID=40198&amp;title=vista-aero-ribbon-skin-issue#40198</guid>
  </item> 
  <item>
   <title><![CDATA[Vista Aero / Ribbon / Skin issue : We have a VB6 app that has both...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11914&amp;PID=40189&amp;title=vista-aero-ribbon-skin-issue#40189</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4246">Rmoz</a><br /><strong>Subject:</strong> 11914<br /><strong>Posted:</strong> 20 August 2008 at 11:51pm<br /><br /><P>We have a VB6 app that has both ribbon bars &amp; skins. The user is allowed to change these colours to their likeing. The issue we have is under vista &amp; Aero theme we get this happening to the ribbon</P><P><img src="https://forum.codejock.com/uploads/20080820_233913_VistaAeroShot.png" border="0"></P><DIV>After some testing, it appears that the issue is with the skin &amp; using the xtpSkinApplyFrame flag. If this is not used, the Aero theme looks fine except listview scrollbars of the form remain as the system theme and not&nbsp;as applied skin. </DIV><DIV>The help implies that the scrollbars are controlled under&nbsp;xtpSkinApplyMetrics and not xtpSkinApplyFrame ???</DIV><DIV>&nbsp;</DIV><DIV>Now we can detect the AeroTheme via the GetCurrentSystemTheme method, but the Vista Basic theme also reports as aero and we have no issues with that theme.</DIV><DIV>&nbsp;</DIV><DIV>So the real question(s) is :-</DIV><DIV>Can we get the listview scrollbars to skin independantly when using Aero ?</DIV><DIV>&nbsp;</DIV><DIV>Or</DIV><DIV>&nbsp;</DIV><DIV>Can the GetCurrentSytemTheme differentiate between Vista Aero &amp; Vista Basic ?</DIV><DIV>&nbsp;</DIV><DIV>Or</DIV><DIV>&nbsp;</DIV><DIV>Can we use a Ribbon &amp; Skin with xtpSkinApplyFrame under Vista Aero theme ?</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Any help gratefully accepted.</DIV>]]>
   </description>
   <pubDate>Wed, 20 Aug 2008 23:51:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11914&amp;PID=40189&amp;title=vista-aero-ribbon-skin-issue#40189</guid>
  </item> 
 </channel>
</rss>