`
Par2: Close another thread 2010-01-06 -- Lee White > I have a small app where the first procedure is an SDI window. When the > first procedures window opens it STARTs another procedure that has a hidden > window. When I close the app it leaves the STARTed procedure window still > running but hidden. I can tell this because the app still shows on the task > manager process tab. How do I get the STARTed procedure window to close when > I close the main app? I don't want to make the first procedure a frame. Save the thread when you start the other procedure and post a message to it when you close the main window. OtherThread LONG OtherThread = START(proc) POST(EVENT:CloseDown,,OtherThread) Printed November 21, 2024, 2:09 pm This article has been viewed/printed 35215 times. |