home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Source Code 1992 March
/
Source_Code_CD-ROM_Walnut_Creek_March_1992.iso
/
msdos
/
desqview
/
dvglue10.arc
/
TVWLEAVE.C
< prev
next >
Wrap
C/C++ Source or Header
|
1988-07-10
|
1KB
|
29 lines
/*=======================================================*/
/* TVWLEAVE.C */
/* */
/* (c) Copyright 1988 Ralf Brown All Rights Reserved */
/* May be freely copied for noncommercial use, so long */
/* as this copyright notice remains intact, and any */
/* changes are marked in the comment blocks preceding */
/* functions. */
/*=======================================================*/
#include "tvapi.h"
#include "tvstream.h"
/*=======================================================*/
/* TVwin_leave set whether writing leaves attributes */
/* untouched */
/* Ralf Brown 4/8/88 */
/*=======================================================*/
void pascal TVwin_leave(OBJECT win, int leave)
{
static BYTE leave_stream[] = { S_WINDOW(1), WS_LEAVEATTR } ;
static BYTE write_stream[] = { S_WINDOW(1), WS_WRITEATTR } ;
TVwin_stream(win, leave?leave_stream:write_stream) ;
}
/* End of TVWLEAVE.C */