Skip to content

Latest commit

 

History

History
58 lines (40 loc) · 1.14 KB

DrawEdge.md

File metadata and controls

58 lines (40 loc) · 1.14 KB

Home

Function name : DrawEdge

Group: Painting and Drawing - Library: user32


The DrawEdge function draws one or more edges of rectangle.


Code examples:

Drawing a rectangle using Windows regular edges and borders

Declaration:

BOOL DrawEdge(
  HDC hdc,       // handle to device context
  LPRECT qrc,    // rectangle coordinates
  UINT edge,     // type of edge
  UINT grfFlags  // type of border
);  

FoxPro declaration:

DECLARE INTEGER DrawEdge IN user32;
	INTEGER   hdc,;
	STRING  @ qrc,;
	INTEGER   edge,;
	INTEGER   grfFlags  

Parameters:

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.


Return value:

If the function succeeds, the return value is nonzero.