I am using the CBitmapButton class to create buttons with a different look than the standard MFC controls.
I don't want to be limited to only rectangular shaped buttons so I tried using a bitmap with transparent sections to display a rectangle with slightly rounded edges. When the bitmap is drawn on the dialog, the transparent sections show up as a white color and do not let the background image show through.
Does anyone know how to create non-rectangular bitmap buttons? Can this be done using the CBitmapButton class? Please include some sample code with your answer. Thanks.