Function Reference


Retrieves the value of a margins property

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


$hTheme Handle to a window's specified theme data.
$iPartID The part that contains the MARGINS property.
$iStateID The state of the part.
$iPropID The property to retrieve ($TMT_*).
$hDC Handle to a device context to select fonts into.
$tRECT $tagRECT structure that contains the rectangle that specifies the area to be drawn into.

Return Value

Success: $tagMARGINS structure that contains a margins value.
Failure: Sets the @error flag to non-zero, @extended flag may contain the HRESULT error code.

See Also

Search GetThemeMargins in MSDN Library.