Ticket #2741: _WinAPI_DrawThemeEdge.txt

File _WinAPI_DrawThemeEdge.txt, 1.3 KB (added by mLipok, 8 years ago)
Line 
1###User Defined Function###
2_WinAPI_DrawThemeEdge
3
4###Description###
5Draws one or more edges defined by the visual style of a rectangle
6
7###Syntax###
8#include <WinAPITheme.au3>
9_WinAPI_DrawThemeEdge ( $hTheme, $iPartID, $iStateID, $hDC, $tRECT, $iEdge, $iFlags [, $tAREA = 0] )
10
11
12###Parameters###
13@@ParamTable@@
14$hTheme
15        Handle to a window's specified theme data.
16$iPartID
17        The part that contains the rectangle.
18$iStateID
19        The state of the part.
20$hDC
21        Handle to the device context.
22$tRECT
23        $tagRECT structure that contains the rectangle.
24$iEdge
25        The type of inner and outer edges to draw.
26        This parameter must be a combination of one inner-border flag and one outer-border flag ($BDR_*), or one of the combination flags ($EDGE_*).
27$iFlags
28        The type of border to draw. It can be a combination of the $BF_* constants.
29$tAREA
30        [optional] $tagRECT structure that contains the rectangle that receives the interior rectangle, if $BF_ADJUST is used.
31@@End@@
32
33###ReturnValue###
34@@ReturnTable@@
35Success:        1.
36Failure:        0 and sets the @error flag to non-zero, @extended flag may contain the HRESULT error code.
37@@End@@
38
39
40###Remarks###
41$BDR_* , $EDGE_* , $BF_* constants require #include <BorderConstants.au3>.
42
43
44###Related###
45None.
46
47
48###See Also###
49@@MsdnLink@@ DrawThemeEdge