home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 June
/
SIMTEL_0692.cdr
/
msdos
/
desqview
/
dvglue10.arc
/
TVPOPEN.C
< prev
next >
Wrap
C/C++ Source or Header
|
1988-07-10
|
1KB
|
32 lines
/*================================================*/
/* TVPOPEN.C */
/* */
/* (c) Copyright 1988 Ralf Brown */
/* All Rights Reserved */
/* May be freely copied for noncommercial use, */
/* provided that this copyright notice remains */
/* intact and any changes are indicated in the */
/* comment blocks preceding functions */
/*================================================*/
#include "tvapi.h"
/*================================================*/
/* TVptr_open attach pointer to a window */
/* Ralf Brown 6/12/88 */
/*================================================*/
void pascal TVptr_open(OBJECT ptr,OBJECT win)
{
PARMLIST1 p ;
if (TVisobj(ptr))
{
p.num_args = 1 ;
p.arg[0] = (DWORD) (win?win:TVmywindow()) ;
TVsendmsg(OPEN_MSG, TOS, ptr, (PARMLIST *)&p) ;
}
}
/* End of TVPOPEN.C */