Jump to content
Sign in to follow this  
simbo

$BS_BITMAP style buttons in Vista

Recommended Posts

simbo

Hi All

I've been using a script on my XP machine for some time. It has buttons like this:-

GUICtrlCreateButton("",10,10,50,20,$BS_BITMAP)

GUICtrlSetImage(-1,"coolpic.bmp")

This looks most pleasant; my inner simpleton was most pleased with having a picture on my button. It works like a button should.

When I run the same script on my Vista machine (using the same monitor and screen resolution) the buttons appear flat and don't have the natty effect of being pushed down when you click them. They do however, work fine. It's just that they look a bit odd.

Any help most appreciated

Matt

Share this post


Link to post
Share on other sites
jpm

The button coloring was design at the time Vista was not existing. It was not a perfect solution even under XP Theme but it looks almost like. Now Valik is working for a better solution for any Windows version. I don't know when that will be available but just be patient in case you need it.

Share this post


Link to post
Share on other sites
Datus

Dont use buttons use icons...

Im using a very good Icon maker package atm and im not looking back......

Its from axialis and has 30 days eval.


We live as we dream alone!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.