Group: Painting and Drawing - Library: user32
Drawing a rectangle using Windows regular edges and borders
BOOL DrawEdge(
HDC hdc, // handle to device context
LPRECT qrc, // rectangle coordinates
UINT edge, // type of edge
UINT grfFlags // type of border
);
DECLARE INTEGER DrawEdge IN user32;
INTEGER hdc,;
STRING @ qrc,;
INTEGER edge,;
INTEGER grfFlags
hdc [in] Handle to the device context.
qrc [in/out] Pointer to a RECT structure that contains the logical coordinates of the rectangle.
edge [in] Specifies the type of inner and outer edges to draw.
grfFlags [in] Specifies the type of border.
If the function succeeds, the return value is nonzero.