W_SETMODE(3)			WLIB-CALLS			W_SETMODE(3)

NAME

	w_setmode()

SYPNOSIS

	#include <Wlib.h>

	short w_setmode(short handle, short mode);

DESCRIPTION

	 w_setmode() sets the drawing mode for a window which will affect all
	following drawing operations except w_bitblk(), dashed functions and
	character printing routines. the mode can be any single one of M_CLEAR,
	M_DRAW or M_INVERS.

RETURNS

	- a negative error if something went wrong

	- the old (positive) mode otherwise

LAST CHANGED

	12/94 by TeSche, itschere@techfak.uni-bielefeld.de
