FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Newby Question : MDI
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Newby Question : MDI
Posted: Fri May 23, 2008 02:45 PM

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

Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 811
Joined: Tue May 06, 2008 04:28 AM
Newby Question : MDI
Posted: Fri May 23, 2008 03:13 PM

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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Newby Question : MDI
Posted: Fri May 23, 2008 05:59 PM

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

Continue the discussion