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. |
Success: | $tagMARGINS structure that contains a margins value. |
Failure: | Sets the @error flag to non-zero, @extended flag may contain the HRESULT error code. |
Search GetThemeMargins in MSDN Library.