Anyone have a working code example of a simple Button with an Icon image in it?

I managed to use a Bitmap image in the Button, but the "background" grey color in the image got miscolored (i.e. not quite the button grey, but a touch darker).

So I thought I'd try with an Icon instead, and use a real "masked" background color. I tried with both an icon of my own with a 16x16 and a 32x32 version, and the guiperl.ico icon.

No luck. The Button text isn't visible anymore, but no icon either...


/J

PS. You can see the "ugly" buttons in the latest release of Oasis, which also includes:
+ Buttons to open Explorer, Explorer | Search... using a DDE link
+ Help POD & local HTML help
+ Preferences... modal dialog box
--
Johan Lindström, Sourcerer, Boss Casinos Ltd, Antigua
[EMAIL PROTECTED]


Reply via email to