"Modal" MDI Child Window?

Post Reply
dpaterso
Posts: 142
Joined: Tue Jan 24, 2006 9:45 am
Location: South Africa
Contact:

"Modal" MDI Child Window?

Post 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.
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post 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.
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply