Page 1 of 1

"Modal" MDI Child Window?

PostPosted: Tue Jan 24, 2006 9:51 am
by dpaterso
Is there any way of opening and displaying an MDI Child Window that a user cannot minimize, maximize, resize, move etc. etc. (almost like a Modal Dialog Box).

Also the user must not be able to click out of this window i.e. the user has to close the window described above before continuing.

Dale.

PostPosted: Tue Jan 24, 2006 9:56 am
by Antonio Linares
Dale,

You may disable the main window and other child windows, so the user will not be able to click on them:

oWndMain:Disable()
oWndChild1:Disable()
...

So just your selected mdichild window will be available. Once you are done, then enable them again doing:

oWndMain:Enable()
oWndChild1:Enable()
...

If you want that the user don't resize it, maximize it, etc. then better use a modal dialog box.