Function Reference


Sets the value of the specified attributes for non-client rendering to apply to the window

#include <WinAPIGdi.au3>
_WinAPI_DwmSetWindowAttribute ( $hWnd, $iAttribute, $iData )


$hWnd The window handle to apply the given attribute.
$iAttribute The attribute to apply to the window. This parameter can be one of the following values:

Windows 7 or later
$iData The value of the attribute.

Return Value

Success: 1.
Failure: 0 and sets the @error flag to non-zero, @extended flag may contain the HRESULT error code.


This function requires Windows Vista or later.

See Also

Search DwmSetWindowAttribute in MSDN Library.