Closed GarrickLin closed 3 years ago
Some issues I found in your code:
WS_EX_TRANSPARENT
in dwExStyle
argument. You should not OR'd general styles with extended styles.SetWindowBkColor
does not make sense for the transparent control.SetWindowBkColor
instead of a RGB DWORD value unless that the screen video mode is 32bit RGBA.Hope this help you! Good luck.
目前使用版本 3.2
如图,右边蓝色是个
static
标签,上面贴有一个带透明的按钮,但是透明部分没有和背景融合,也设置了背景颜色,仍然不行。