Function Reference


_WinAPI_BufferedPaintSetAlpha

Sets the alpha to a specified value in a given rectangle

#include <WinAPITheme.au3>
_WinAPI_BufferedPaintSetAlpha ( $hBP [, $iAlpha = 255 [, $tRECT = 0]] )

Parameters

$hBP Handle of the buffered paint context.
$iAlpha [optional] The alpha value to set. The alpha value can range from zero (fully transparent) to 255 (Default)(fully opaque).
$tRECT [optional] $tagRECT structure that specifies the rectangle in which to set the alpha.
If this parameter is 0 (Default), the entire buffer is used.

Return Value

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

Remarks

This function requires Windows Vista or later.

See Also

Search BufferedPaintSetAlpha in MSDN Library.