C# Class WinApi.Dwm, code

Show file Open project: shendongnian/code

Public Methods

Method Description
IsCompositionEnabled ( ) : bool
IsNonClientRenderingEnabled ( IntPtr, hWnd ) : bool
WindowBorderlessDropShadow ( IntPtr, hWnd, int ShadowSize ) : bool
WindowDisableRendering ( IntPtr, hWnd ) : bool
WindowEnableBlurBehind ( IntPtr, hWnd ) : bool
WindowExtendIntoClientArea ( IntPtr, hWnd, WinApi.Dwm.MARGINS, Margins ) : bool
WindowSetAttribute ( IntPtr, hWnd, DWMWINDOWATTRIBUTE Attribute, int AttributeValue ) : bool
WindowSheetOfGlass ( IntPtr, hWnd ) : bool

Method Details

IsCompositionEnabled() public static method

public static IsCompositionEnabled ( ) : bool
return bool

IsNonClientRenderingEnabled() public static method

public static IsNonClientRenderingEnabled ( IntPtr, hWnd ) : bool
hWnd IntPtr,
return bool

WindowBorderlessDropShadow() public static method

public static WindowBorderlessDropShadow ( IntPtr, hWnd, int ShadowSize ) : bool
hWnd IntPtr,
ShadowSize int
return bool

WindowDisableRendering() public static method

public static WindowDisableRendering ( IntPtr, hWnd ) : bool
hWnd IntPtr,
return bool

WindowEnableBlurBehind() public static method

public static WindowEnableBlurBehind ( IntPtr, hWnd ) : bool
hWnd IntPtr,
return bool

WindowExtendIntoClientArea() public static method

public static WindowExtendIntoClientArea ( IntPtr, hWnd, WinApi.Dwm.MARGINS, Margins ) : bool
hWnd IntPtr,
Margins WinApi.Dwm.MARGINS,
return bool

WindowSetAttribute() public static method

public static WindowSetAttribute ( IntPtr, hWnd, DWMWINDOWATTRIBUTE Attribute, int AttributeValue ) : bool
hWnd IntPtr,
Attribute DWMWINDOWATTRIBUTE
AttributeValue int
return bool

WindowSheetOfGlass() public static method

public static WindowSheetOfGlass ( IntPtr, hWnd ) : bool
hWnd IntPtr,
return bool