Autor Beitrag
aM0xACiLLiN
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 64



BeitragVerfasst: So 28.03.04 16:45 
Hi,

ich suche nach einem Weg, ein MDIChild mit WindowState zu erstellen. Ich brauche das für eine MDI-Anwendung, die entweder maximierte oder normale childs hat, und wenn man da ein child mit wsNormal erstellt, die anderen aber wsMaximized sind, flackert das ganze bzw bleibt kurz "normal" geöffnet und maximiert sich dann (code:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
LockWindowUpdate(Handle);
child:=TForm2.Create;
if (maximizemode) then child.windowstate:=wsMaximized;
LockWindowUpdate(0);


Danke & cu

Moderiert von user profile iconMotzi: Code- durch Delphi-Tags ersetzt.