Adjust MDI Child size when Parent MDI was resized

Adjust MDI Child size when Parent MDI was resized

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

Re: Adjust MDI Child size when Parent MDI was resized

Postby fraxzi » Tue Jun 15, 2010 1:02 pm

Dear All,

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

Code: Select all  Expand view


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


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: jmartial, Marc Venken and 114 guests