WindowsXP Themes, Visual Styles or Skins

This forum can be used to talk about general design strategies, new ideas and questions in general related to wxWidgets. If you feel your questions doesn't fit anywhere, put it here.
Post Reply
In need of some credit
In need of some credit
Posts: 2
Joined: Thu Mar 23, 2006 1:48 pm

WindowsXP Themes, Visual Styles or Skins

Post by teh_junkie » Mon May 22, 2006 4:51 am

Hello friends.

I want to ask this simple question. Is it possible to apply winxp themes to a wxwidgets app without using wxuniversal (havent played with it, and not willing to, to be sincere)?

When I say Themes, Visual Styles or Skins (dont see the difference other than a Visual Style or theme also changes the icons and stuff, not only the "color" of the windows), I mean, like Delphi applications. You see, many of them have a menu item, or a dialog or something that lets you change the look and feel of the app (yes! thats the word, look and feel like in Java), which means window colors change (with the window's controls etc...)
I dont think icons and the like change, so I guess Im not after Winamp's skinning engine (where AFAIK all controls are user-drawn and the like), just the look and feel.
Here is an example screenie of a Delphi app, with different skins applied (or so they call it skins), to the File menu

Is this possible with Wxwidgets?
AFAIK, since wxwidgets is meant to support the native OS, then when the user changes the theme, for example using StyleXP, then the app will reflect that change, but I want to do it on an App-based approach, where the user changes the App's skin without affecting other windows. I think this is clear :lol:

Best wishes.

I live to help wx-kind
I live to help wx-kind
Posts: 187
Joined: Sun Jan 30, 2005 2:50 pm
Location: Heidelberg, Germany

Post by Vexator » Mon May 22, 2006 7:34 am

no, this is not possible, as wx, like you already noticed, tries to reflect the native look and feel of the os.

but you still can inherit from the widgets you'd like to style and override their paint events.
Windows 7 Pro
Visual Studio 2010
wxWidgets 2.9.3

Experienced Solver
Experienced Solver
Posts: 66
Joined: Wed Oct 12, 2005 2:43 pm
Location: Russia

Post by kornerr » Sat May 27, 2006 7:31 am

xp manifest file can make your app be rendered with 6th windows widgets version.
Open Source all the way, baby ;)

Post Reply