Funktionreferenz


_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 )

Parameter

$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.

Rückgabewert

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

Bemerkungen

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

Verwandte Funktionen

_WinAPI_DeleteObject

Siehe auch

Suche nach GetThemeBackgroundRegion in der MSDN Bibliothek.