English 中文(简体)
标签:的问答
我利用C++and WinAPI创建了一个窗口,并使用更新的LayeredWindow功能,但我无法理解对窗户的沥青有何控制。
原文:I created a window using C++and WinAPI and used the UpdateLayeredWindow function, but I cannot understand what controls the alpha of the window

The code used UpdateLayeredWindow is HDC hdc = GetWindowDC(hWnd); int width = 400; int height = 300; HBITMAP hBitmap = CreateCompatibleBitmap(hdc, width, height); HDC hdcMem = CreateCompatibleDC(hdc);...

热门标签