You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it is caused by the transparent alpha component, the old content can not be erased by the new content.
You can call SetSecondaryDC() function to specify a function implemented by yourself as the callback to update the content in your secondary DC to the screen.
你好,有个问题请教下
我创建了一个带双缓冲属性的窗口
然后为了让这个窗口透明,我设置了透明属性
SetWindowBkColor(hwnd, RGBA2Pixel(HDC_SCREEN, 0,0,0,0));
但是设置了这个透明属性以后,双缓冲失效了,请问下是什么原因?有什么解决办法?
The text was updated successfully, but these errors were encountered: