Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The DrawEdge function draws one or more edges of rectangle.
BOOL DrawEdge(
[in] HDC hdc,
[in, out] LPRECT qrc,
[in] UINT edge,
[in] UINT grfFlags
);
[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.
The outer-border flags are as follows.
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.
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
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) |
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today