I would like to have a command button displays both an icon and text on it. For example, a rectangular print button would have a printer icon and the word Print next to it.
I can create the bitmap image of the printer and the word "Print" easily enough in MS Paint, but the problem is that I can't get the image to appear on the button transparently (like typical Windows icons). I always get the background color (in this case white). I realize I can make the background the color of the button, but this does not account for when users have a different Windows button color scheme (say purple) than the one that the application was developed on.
Does anybody know how to accomplish this? Are icons the only objects that provide this kind of transparency?
Thanks,
Rick
I can create the bitmap image of the printer and the word "Print" easily enough in MS Paint, but the problem is that I can't get the image to appear on the button transparently (like typical Windows icons). I always get the background color (in this case white). I realize I can make the background the color of the button, but this does not account for when users have a different Windows button color scheme (say purple) than the one that the application was developed on.
Does anybody know how to accomplish this? Are icons the only objects that provide this kind of transparency?
Thanks,
Rick