bei normalen Fenstern mache ich das so:
Delphi-Quellcode:
type
TForm1 = class(TForm)
private
{ Private-Deklarationen }
public
procedure WMSysCommand(var Msg: TWMSysCommand); message WM_SYSCOMMAND;
end;
var
Form1: TForm1;
implementation
{$R *.DFM}
procedure TForm1.WMSysCommand;
begin
if (Msg.CmdType = SC_MAXIMIZE)
then begin
hide;
windowstate := wsMaximized;
show;
end else inherited;
end;
Vielleicht hilfts!