Newby Question : MDI

Post Reply
Horizon
Posts: 997
Joined: Fri May 23, 2008 1:33 pm

Newby Question : MDI

Post 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
User avatar
fraxzi
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines
Contact:

Post by fraxzi »

Hi!


Hope this helps....


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



Regards,
Kind Regards,
Frances

Fivewin for xHarbour v18.07
xHarbour v1.2.3.x
BCC 7.3 + PellesC8 ( Resource Compiler only)
ADS 10.1 / MariaDB
Crystal Reports 8.5/9.23 DE
xMate v1.15
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

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

Antonio Linares
www.fivetechsoft.com
Post Reply