VC 设置窗口半透明

SetWindowLong(this->GetSafeHwnd(),GWL_EXSTYLE, GetWindowLong(this->GetSafeHwnd(),GWL_EXSTYLE)^0x80000);
SetLayeredWindowAttributes(RGB(0, 0, 0), 0, 1);

你可能感兴趣的:(VC 设置窗口半透明)