Login
`
Templates, Tools and Utilities
|
||
Icetips Article
Back to article list
Search Articles
Add Comment
Printer friendly
Direct link
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)
Today is November 21, 2024, 8:36 am This article has been viewed 35215 times.
|
|