###User Defined Function### _WinAPI_DrawThemeEdge ###Description### Draws one or more edges defined by the visual style of a rectangle ###Syntax### #include _WinAPI_DrawThemeEdge ( $hTheme, $iPartID, $iStateID, $hDC, $tRECT, $iEdge, $iFlags [, $tAREA = 0] ) ###Parameters### @@ParamTable@@ $hTheme Handle to a window's specified theme data. $iPartID The part that contains the rectangle. $iStateID The state of the part. $hDC Handle to the device context. $tRECT $tagRECT structure that contains the rectangle. $iEdge The type of inner and outer edges to draw. This parameter must be a combination of one inner-border flag and one outer-border flag ($BDR_*), or one of the combination flags ($EDGE_*). $iFlags The type of border to draw. It can be a combination of the $BF_* constants. $tAREA [optional] $tagRECT structure that contains the rectangle that receives the interior rectangle, if $BF_ADJUST is used. @@End@@ ###ReturnValue### @@ReturnTable@@ Success: 1. Failure: 0 and sets the @error flag to non-zero, @extended flag may contain the HRESULT error code. @@End@@ ###Remarks### $BDR_* , $EDGE_* , $BF_* constants require #include . ###Related### None. ###See Also### @@MsdnLink@@ DrawThemeEdge