User32DrawEdge(IntPtr, NativeRectangle, DrawEdgeType, DrawEdgeFlags) Method

Draws a 3D edge or flat border on the specified device context.

Definition

Namespace: DevCase.Win32.NativeMethods
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("User32.dll", SetLastError = true)]
public static bool DrawEdge(
	IntPtr hdc,
	ref NativeRectangle refRect,
	DrawEdgeType edge,
	DrawEdgeFlags flags
)

Parameters

hdc  IntPtr
A handle to the device context where the border is drawn.
refRect  NativeRectangle
A NativeRectangle structure that specifies the area for the border.
edge  DrawEdgeType
The type of inner and outer edges to draw.
flags  DrawEdgeFlags
Flags that specify the border's behavior.

Return Value

Boolean
True if the function succeeds, False otherwise.

Remarks

See Also