Newby Question : MDI

Newby Question : MDI

Postby Horizon » Fri May 23, 2008 2: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
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Postby fraxzi » Fri May 23, 2008 3: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
User avatar
fraxzi
 
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines

Postby Antonio Linares » Fri May 23, 2008 5: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42107
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot], wilsongamboa and 78 guests