hello, I have some question. when I use wxbutton. the button is a simple window system theme how can I change this button to window vista button style? and how can I remove cmd box in background? see picture for more details. thank you:) Attachments: http://www.ruby-forum.com/attachment/4458/fff.jpg -- Posted via http://www.ruby-forum.com/.
I''m not sure about vista style button since I don''t use vista but in xp there is a way to make the button using xp style, by adding some xml file into ruby/bin directory. Perhaps another who use vista can help? about remove cmd box in background, try changing your file extension from .rb to .rbw On Fri, Feb 5, 2010 at 11:56 AM, Pat Kiatchaipipat <lists at ruby-forum.com>wrote:> hello, I have some question. > > when I use wxbutton. the button is a simple window system theme how can > I change this button to window vista button style? > > and how can I remove cmd box in background? > > see picture for more details. > > thank you:) > > Attachments: > http://www.ruby-forum.com/attachment/4458/fff.jpg > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > wxruby-users mailing list > wxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/wxruby-users >-- Suka linux? Kunjungi blog saya http://penguinroad.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/wxruby-users/attachments/20100205/e9aa3bf9/attachment.html>
thank for the answer to remove cmd box it''s work! but I try to searching the way to change button style someone know? :''( -- Posted via http://www.ruby-forum.com/.
On 05/02/2010 04:56, Pat Kiatchaipipat wrote:> when I use wxbutton. the button is a simple window system theme how can > I change this button to window vista button style? >Try these steps here: http://rubyonwindows.blogspot.com/2007/10/windows-xp-visual-style-controls-with.html This blog suggests that wxWidgets by and large supports Vista-style widgets out the box: http://wxwidgets.blogspot.com/2007/02/wxwidgets-under-vista.html cheers alex
Alex Fenton wrote:> On 05/02/2010 04:56, Pat Kiatchaipipat wrote: >> when I use wxbutton. the button is a simple window system theme how can >> I change this button to window vista button style? >> > Try these steps here: > > http://rubyonwindows.blogspot.com/2007/10/windows-xp-visual-style-controls-with.html > > This blog suggests that wxWidgets by and large supports Vista-style > widgets out the box: > > http://wxwidgets.blogspot.com/2007/02/wxwidgets-under-vista.html > > cheers > alexSome time ago I encountered the same problem and was given a solution: http://www.ruby-forum.com/topic/190390#new Additionally, I checked what happens if the script is compiled with OCRA and found that, if you include the manifest via the -dll option, the correct styles were used automatically.> and how can I remove cmd box in backgroundRun the script with rubyw.exe, but beware that every attempt to write to $stdout (unless you redirected it) will now result in an error. The old OCI used to run scipts with the .rbw extension with rubyw.exe, but for the new RubyInstaller I don''t know. What''s your Ruby version? Marvin -- Posted via http://www.ruby-forum.com/.