home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
122.lha
/
Arp_v1.1
/
Pro_Docs
/
Old_Pages
/
CloseWindowSafely
< prev
next >
Wrap
Text File
|
1986-11-20
|
917b
|
67 lines
CloseWindowSafely(31.0) ARP Prog_Man CloseWindowSafely(31.0)
NAME
CloseWindowSafely - close a window without GURUing.
SYNOPSIS
CloseWindowSafely( window, morewindows )
A0 A1
FUNCTION
This function locates any messages queued to the window
message port, and returns them to the sender. It then
closes the window. This is necessary for windows which
share a common IDCMP, otherwise GURU's are likely to occur.
If morewindows is NULL, then the msgport is freed also.
INPUTS
window - window to close
morewindows - If NULL, the msgport for this window will be
released.
RESULTS
None.
BUGS
This function will GURU if called to close a window which
was opened with the IDCMPFLags variable of the NewWindow
structure set to NULL.
Author
CDH
Page 1 (printed 2/22/88)