Does anyone else find having muiltiple forms open an absolute pain to close down.
no matter what commands i use (ff or winapi) if i try and close the program down then it still sits in the task manager under processes.
any one find something simular? or have a solution?
Sounds like a symptom of a bigger problem. I expect that you must have some threads still running in the background or something. Closing the main Form of your FireFly application will close the program and close any windows associated with it.
ok so if i close all the thread handles then I might be in with a chance.
thanks Paul its somewhere to start. this programs a big one.
OK , I think i found what my problem was.
not only closing down the threads but using
ScrnCapt_Show (HWND_Control, %true)
stop the program shutting down when the parent is closed.
ScrnCapt_Show (HWND_Control, %false)
makes it work.
strange to me, but you guys might know the reason
cheers for your help
Paul.