Hi, I''ve been using wxRuby with Visual Styles on Windows XP very well (as described here: http://rubyonwindows.blogspot.com/2007/10/windows-xp-visual-style-controls-with.html, I only altered version="1.8.6.0" to version="1.9.1.0"), but this seems not to work under Windows Vista, I only get the boring old styles. Is there a solution for that? Windows Vista Home Premium ruby 1.9.1p0 (2009-01-30 revision 21907) [i386-mingw32] Marvin -- Posted via http://www.ruby-forum.com/.
Marvin G?lker wrote:> http://rubyonwindows.blogspot.com/2007/10/windows-xp-visual-style-controls-with.html,Oh sorry, without the comma: http://rubyonwindows.blogspot.com/2007/10/windows-xp-visual-style-controls-with.html Marvin -- Posted via http://www.ruby-forum.com/.
Marvin G?lker wrote:> Hi, > > I''ve been using wxRuby with Visual Styles on Windows XP very well (as > described here: > http://rubyonwindows.blogspot.com/2007/10/windows-xp-visual-style-controls-with.html, > I only altered version="1.8.6.0" to version="1.9.1.0"), but this seems > not to work under Windows Vista, I only get the boring old styles. Is > there a solution for that? > > Windows Vista Home Premium > ruby 1.9.1p0 (2009-01-30 revision 21907) [i386-mingw32] > > MarvinI encountered the same problem. I selected "Run this program in Compatibility Mode for: Windows XP Service Pack 2" in the File Properties for ruby.exe and rubyw.exe. That seems to have resolved the problem, as I now get the "XP/Vista" visual styles. Furthermore, I then deselected this option in the File Properties, rebooted, and still get the "XP/Vista" visual styles. Windows Vista Home Premium Ruby 1.8.6 wxRuby 2.0.0 Hope that helps. I''d be curious to know if you see the same results. David http://rubyonwindows.blogspot.com/ -- Posted via http://www.ruby-forum.com/.
David Mullet wrote:> Marvin G?lker wrote: >> Hi, >> >> I''ve been using wxRuby with Visual Styles on Windows XP very well (as >> described here: >> http://rubyonwindows.blogspot.com/2007/10/windows-xp-visual-style-controls-with.html, >> I only altered version="1.8.6.0" to version="1.9.1.0"), but this seems >> not to work under Windows Vista, I only get the boring old styles. Is >> there a solution for that? >> >> Windows Vista Home Premium >> ruby 1.9.1p0 (2009-01-30 revision 21907) [i386-mingw32] >> >> Marvin > > I encountered the same problem. I selected "Run this program in > Compatibility Mode for: Windows XP Service Pack 2" in the File > Properties for ruby.exe and rubyw.exe. That seems to have resolved the > problem, as I now get the "XP/Vista" visual styles. > > Furthermore, I then deselected this option in the File Properties, > rebooted, and still get the "XP/Vista" visual styles. > > Windows Vista Home Premium > Ruby 1.8.6 > wxRuby 2.0.0 > > Hope that helps. I''d be curious to know if you see the same results. > > David > > http://rubyonwindows.blogspot.com/Thanks David! I got the effect you described: I first selected compatibility mode for XP SP2 and tried a simple test application with two buttons. They appeared in the new design. Then I deselected the option, just as you said - and the visual styles didn''t disappear. Is there an explanation for that? Maybe Windows manipulates the ruby(w).exe file by including a manifest if there''s one in the same directory when setting the compatibility mode? Marvin -- Posted via http://www.ruby-forum.com/.