Hi Yuriy,
No, the only replies I got are yours and G. Taskers to you. Honestly, at this point I don't remember what I did (if anything) to resolve this. I'm not even sure what I was working on at the time. :-)
As George mentions, it's not possible to have a top level form be modal in the current versions of Windows. I believe I was trying to make an MDI child form application modal, I.e. nothing else could be done in the application until the modal child form had been processed. I think there is a way to do this but I don't remember what I did or the application I was addressing at the time. :-( If I run up on it I'll get back to you.
Bill
>Hi Bill,
>
>Have you ever received any reply to your question or figured out how to make a modal form behave as an MDI child form? If so, can you please share this with me?
>
>Thanks,
>
>Yuriy
>
>
>>In an MDI application, a form with a declared MDIParent cannot be shown modally, I.e. with .ShowDialog(). Leaving the child form as top level and showing it with ShowDialog() allows it to me moved outside the MDI Parent desktop form.
>>How do you force an MDI child form to be modal within the application, I.e. within the top level MDI Parent form?
>>
>>Thanks,
>>Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.