Funktionreferenz


_WinAPI_GetThemePartSize


Calculates the original size of the part defined by a visual style

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

Parameter

$hTheme Handle to a window's specified theme data.
$iPartID The part part to calculate the size of.
$iStateID The state of the part.
$hDC Handle to a device context to select fonts into.
$tRECT $tagRECT structure that contains the rectangle used for the part drawing destination.
$iType The type of size to retrieve. This parameter can be one of the following values.
$TS_MIN
$TS_TRUE
$TS_DRAW

Rückgabewert

Success: $tagSIZE structure that contains a dimensions of the specified part.
Failure: Sets the @error flag to non-zero, @extended flag may contain the HRESULT error code.

Bemerkungen

None.

Siehe auch

Suche nach GetThemePartSize in der MSDN Bibliothek.