private _DwmSetWindowAttribute ( |
||
hwnd | ||
dwAttribute | DWMWA | |
pvAttribute | int | |
cbAttribute | int | |
return | void |
public static void DwmSetWindowAttributeDisallowPeek(IntPtr hwnd, bool disallowPeek) { int num = disallowPeek ? 1 : 0; NativeMethods._DwmSetWindowAttribute(hwnd, DWMWA.DISALLOW_PEEK, ref num, 4); }
public static void DwmSetWindowAttributeFlip3DPolicy(IntPtr hwnd, DWMFLIP3D flip3dPolicy) { int num = (int)flip3dPolicy; NativeMethods._DwmSetWindowAttribute(hwnd, DWMWA.FLIP3D_POLICY, ref num, 4); }