Hi Paul,
>Yeah, I thought about that (but couldn't come up with a elegant solution to it)...so, I left that as an "implementation detail" for Kevin ;-). In the app I needed this in, that wasn't an issue for me. Christof's routine sounds like the way to go for a more generic solution. His code is public domain, so there shouldn't be any problem w/Kevin using most of that code. I always forget to check KiloFox for this kind of stuff
That's what happens to me sometimes as well. But I've put some self sticking notes on several pages where there are things I might find usefull in the next 10 years < g >. From time to time I look through these pages to keep the interesting things in mind.
> , even though I have a copy of it (personally autographed by one of the authors; ooh, ahhh!) sitting 3 feet from my face.
Personally autographed ... that's an honour < g >. I should have taken my copy with me to the last German DevCon. One evening I was sitting next to **two** authors of the book < vbg >.
>How would you go about bringing the running app's window forward and maximized? They don't seem to address that in the code shown in KiloFox. FindWindow will find your semaphore window, not the main app's window.
Seems I've just loaded some more work on my shoulders < g >. There should a way to find out the handle of the parent window (= VFP main window), so we could use your piece of of code where you bring the window on top. BTW: I wouldn't maximize it, restoring it should be ok.
I will have a look into this in the next days and post the result.
Armin