gentlefox
asked on
Maximize a fsMDIChild to fit perfecly in the fsMDIForm
I'm using
procedure TForm1.WMSysCommand(var msg: TWMSyscommand);
begin
If (msg.CmdType and $FFF0) = SC_MAXIMIZE Then
Begin
// set Panel's bounds
(Code needed Here... by an expert)
End
Else
inherited;
end;
I want to find the best way to get the exact size in the fsMDIForm Client left area to fit perfectly my maximized form without loosing my form border and icons. Regardless if a put a menu, status bar, Group container, tree view, etc..
I know it's poosible because when i do a tile horizontal it's the result I'm looking for. I can't use this fucntion because when i have 2 MDIChilds form, I still want my 2 MDIChilds over eatch other with the same size.
Thanks You Experts...
procedure TForm1.WMSysCommand(var msg: TWMSyscommand);
begin
If (msg.CmdType and $FFF0) = SC_MAXIMIZE Then
Begin
// set Panel's bounds
(Code needed Here... by an expert)
End
Else
inherited;
end;
I want to find the best way to get the exact size in the fsMDIForm Client left area to fit perfectly my maximized form without loosing my form border and icons. Regardless if a put a menu, status bar, Group container, tree view, etc..
I know it's poosible because when i do a tile horizontal it's the result I'm looking for. I can't use this fucntion because when i have 2 MDIChilds form, I still want my 2 MDIChilds over eatch other with the same size.
Thanks You Experts...
ASKER
No because i have 3 MDIChilds that will overlap eatch other. That's why i want to really do it manualy...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
simply do an tile vertically or tile horizontally.