1 | ###User Defined Function### |
---|
2 | _WinAPI_DrawThemeEdge |
---|
3 | |
---|
4 | ###Description### |
---|
5 | Draws 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@@ |
---|
35 | Success: 1. |
---|
36 | Failure: 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### |
---|
45 | None. |
---|
46 | |
---|
47 | |
---|
48 | ###See Also### |
---|
49 | @@MsdnLink@@ DrawThemeEdge |
---|