FRONTPEN

Top  Previous  Next

Syntax

FRONTPEN(win as WINDOW,crColor as UINT)

Description

Sets the foreground color for drawing operations in the window.

Parameters

win - Window to change the foreground drawing color

crColor - New foreground drawing color

Return value

None

Remarks

The color chosen by the FRONTPEN will be used by text, lines, outlines of rectangles, outlines of ellipses, and borders.

See Also: BACKPEN

Example usage

FRONTPEN mywnd, RGB(0,0,128)