Author: Marcelo Torres
How i can create a form and this form stay in another icon in task bar ? (Looks
like a new aplication).
Answer:
In private clause:
1 type2 TForm1 = class(TForm)
3 private4 { Private declarations }5 procedure CreateParams(var Params: TCreateParams); override;
6 7 and, in the implementation:
8 9 procedure TForm1.CreateParams(var Params: TCreateParams);
10 begin11 inherited CreateParams(Params);
12 with params do13 ExStyle := ExStyle or WS_EX_APPWINDOW;
14 end;