Page 1 of 1

Button styles

Posted: Thu Oct 26, 2006 8:44 pm
by jjoe
hello,

I found that there are two styles for buttons. Please see the pictures.

Image

Can somebody tell me what parameter makes the difference?

Posted: Fri Oct 27, 2006 4:40 am
by tierra
The first would be the standard XP themed button, and the other would be the standard non-themed button. The button style uses XP when possible (if you have the manifest setup correctly, which if you see it at some point somewhere, you do), but will fall back on the standard button if you change certain colors or styles that the XP themed button doesn't support.

Posted: Fri Oct 27, 2006 6:34 am
by tiwag
if you add a resource file to your project, which includes wx/msw/wx.rc

e.g. wxApp.rc

Code: Select all

aaaaaaaa ICON "myAppIcon.ico"
#include "wx/msw/wx.rc"
then the manifest info will be included in the resource by default.
(can be switched off by some preprocesser macro if you don't like it)

brgds