home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Source Code 1992 March
/
Source_Code_CD-ROM_Walnut_Creek_March_1992.iso
/
msdos
/
desqview
/
dvglue10.arc
/
TVQFRAME.C
< prev
next >
Wrap
C/C++ Source or Header
|
1988-07-10
|
1KB
|
28 lines
/*=======================================================*/
/* TVQFRAME.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"
/*=======================================================*/
/* TVqry_frame--return TRUE if window has a frame */
/* Ralf Brown 4/3/88 */
/*=======================================================*/
int pascal TVqry_frame(OBJECT win)
{
static BYTE frame_query[] = { S_QUERY(1), QS_FRAME } ;
TVwin_stream(win,frame_query) ;
return (frame_query[4] == QS_FRAME) ;
}
/* End of TVQFRAME.C */