question about windows api: button controls
Hi,
How can I add a transparent bitmap to a button?...I have a bitmap and I don''t want a part of the image to be drawn onto the button how can I do this? I know is a stupid question but I can''t find anything on how to do it :/
You may need to subclass the button control, and add your own WM_PAINT handler to do the custom bitmap drawing.
Capt Logic
Capt Logic
For having transparent gfx on a button you either have to use icons which support partial transparency via mask or subclass the button and draw it yourself.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement