How do I display a bitmap over a button.
Posted on 2001-06-12
I would like to add a bitmap to a button dynamically. I know that with the help of LoadBitmap we can add load the bitmap on to the button control. But there is a problem with that approach. When I change the system fonts from small to large then only the button on the dialog will get enlarged and the bitmap is not scaling to the size of the button.
I want the bitmap to get enlarged or I will put it this way. I want the display of the bitmap to be same even when the system wide fonts are changed from small to large.
If some can give me some idea regarding this it would be very much helpful to me.
Thanks in advance.