Function Reference


_WinAPI_GetThemeBackgroundRegion

Computes the region for a regular or partially transparent background that is bounded by a specified rectangle

#include <WinAPITheme.au3>
_WinAPI_GetThemeBackgroundRegion ( $hTheme, $iPartID, $iStateID, $hDC, $tRECT )

Parameters

$hTheme Handle to a window's specified theme data.
$iPartID The part that contains the region.
$iStateID The state of the part.
$hDC Handle to the device context to draw into.
$tRECT $tagRECT structure that contains the specified rectangle used to compute the region.

Return Value

Success: Handle to the computed region.
Failure: Sets the @error flag to non-zero, @extended flag may contain the HRESULT error code.

Remarks

The region handle that is returned by this function should be released when it is no longer needed,
using _WinAPI_DeleteObject().

Related

_WinAPI_DeleteObject

See Also

Search GetThemeBackgroundRegion in MSDN Library.