Remove white border of CButton

1.7k views Asked by At

How do I remove the white border on a CButton?

I want to put two buttons, each having a BMP image, side by side so that they create a single image without having a white gap between, but when I overlap the two buttons I get a white border from either. I tried with DrawBorder(FALSE, TRUE); but it doesn't work.

How do I get rid of it?

1

There are 1 answers

1
ScottMcP-MVP On BEST ANSWER

Try it with CBitmapButton. If I recall, it does not have any border unless you create one as part of the bitmap images.