#: 18393 S12/OS9/68000 (OSK)
06-Jul-93 19:04:49
Sb: #Kwindows
Fm: Bob van der Poel 76510,2203
To: All
Just made an interesting discovery working with kwindows...and it probably
explains why some gfx programs return you to the original window when they exit
and others don't. The following section of code ends the program in a 'random'
window:
close(path); /* close the display window */
Select(0); /* select the original window */
However, reversing the order of the these calls returns the proper closing
window. Guess kwindows gets confused when the display screen is deselected or
something. Hope this helps someone.
There are 2 Replies.
|