Page 1 of 1

Newby Question : MDI

Posted: Fri May 23, 2008 2:45 pm
by Horizon
Hi,

I have just started to transfer my programs to FW.

Is it possible to lock the main MDI Frame when using MDIClient. just like dialog box. I need Window properties like menu, toolbar vs in MDI Client but i dont want to open any other part from MDI Frame. (MODAL)

Thanks,

Hakan ONEMLI

xHarbour Version 4.5 Feb. 2008
FW March 2008

Posted: Fri May 23, 2008 3:13 pm
by fraxzi
Hi!


Hope this helps....


Create your MDI Window (main) with 'STYLE nOr(WS_DLGFRAME)' clause...



Regards,

Posted: Fri May 23, 2008 5:59 pm
by Antonio Linares
Hakan,

You can disable with oWndChild:Disable() the child windows where you don't want the user to access. Later on you can enable them doing oWndChild:Enable()

This applies for all windows, dialogs and controls