::SetWindowLong(GetSafeHwnd(), GWL_EXSTYLE, ::GetWindowLongPtr(GetSafeHwnd(), GWL_EXSTYLE) | WS_EX_LAYERED); this->SetLayeredWindowAttributes(0, (255 * 70) / 100, LWA_ALPHA);
时间: 2024-10-03 17:14:43
::SetWindowLong(GetSafeHwnd(), GWL_EXSTYLE, ::GetWindowLongPtr(GetSafeHwnd(), GWL_EXSTYLE) | WS_EX_LAYERED); this->SetLayeredWindowAttributes(0, (255 * 70) / 100, LWA_ALPHA);