DrawEdge function (winuser.h)
The DrawEdge function draws one or more edges of rectangle.
Syntax
BOOL DrawEdge(
[in] HDC hdc,
[in, out] LPRECT qrc,
[in] UINT edge,
[in] UINT grfFlags
);
Parameters
[in] hdc
A handle to the device context.
[in, out] qrc
A pointer to a RECT structure that contains the logical coordinates of the rectangle.
[in] edge
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. The inner-border flags are as follows.
Value | Meaning |
---|---|
|
Raised inner edge. |
|
Sunken inner edge. |
The outer-border flags are as follows.
Value | Meaning |
---|---|
|
Raised outer edge. |
|
Sunken outer edge. |
Alternatively, the edge parameter can specify one of the following flags.
[in] grfFlags
The type of border. This parameter can be a combination of the following values.
Return value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | winuser.h (include Windows.h) |
Library | User32.lib |
DLL | User32.dll |
API set | ext-ms-win-ntuser-draw-l1-1-2 (introduced in Windows 10, version 10.0.10240) |
See also
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro