FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Adjust MDI Child size when Parent MDI was resized
Posts: 811
Joined: Tue May 06, 2008 04:28 AM
Adjust MDI Child size when Parent MDI was resized
Posted: Tue Jun 15, 2010 12:13 PM

Dear All,

How to auto resize MDI CHild Window when MDI Frame was resized?
MDI Child Window resized to client coords..

Regards,
Frances

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: 811
Joined: Tue May 06, 2008 04:28 AM
Re: Adjust MDI Child size when Parent MDI was resized
Posted: Tue Jun 15, 2010 01:02 PM
Dear All,

I made it like this but so slow and controls are flickering..

Code (fw): Select all Collapse
oMDIFrame:bResized := ;
{|| AEval(oMDIFrame:oWndClient:aWnd,;
               {|o| IF( !IsZoomed(o:hWnd), ( o:Move(0,0),;
                         o:nHeight := oMDIFrame:oWndClient:nHeight,;
                         o:nWidth  := oMDIFrame:oWndClient:nWidth ), Nil ) }) }


Is there any more simplyfied than this?


Regards,
Frances
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

Continue the discussion