Maybe the next time, I'll think about programming platform-independent.
I thought of your solution, but I've discarded it after considering a few
more constraints in my application.
1. I don't want the child window to be movable.
2. The child has neither menubar, nor frames or resizing or close buttons, I
want it not to be recognizable as a separate window.
3. I want to have the parent still capable of getting the focus.
So, there are quite some problems with modal windows. And further more, my
product requirement specifications tells me to develop for Win98, NT and so
on, so what ?
Anyway, thanks a lot for your help, I hope I can help you one of these days.
Best regards
Oliver
"Labviewguru" schrieb im Newsbeitrag
news:50650000000500000
00F390000-993342863000@exchange.ni.com...
> Oliver,
>
> My recommendation is to change your methodology. Get away from MS
> native functions. This will solve your problems, and make your
> program platform independent.
>
> As an alternative, try calling the front panel either as visible using
> the server, or directly. Then you can set it to frontmost or dialog,
> as necessary, and even control it's location. This should (though I
> haven't researched it much) solve your problems. This also puts you
> back in the driver's seat instead of Microsoft. This is a good
> discipline to have, if you ever decide (or have it decided for you) to
> program outside of Microsoft.