Remove white border of CButton

删除回忆录丶 提交于 2019-12-10 11:46:44

问题


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:


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



来源:https://stackoverflow.com/questions/23935818/remove-white-border-of-cbutton

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!