Somebody know what event in Delphi is fired when I click on miniature of application window on taskbar ?
For example after I move mouse over application icon on taskbar I can see two miniatures of two different opened app windows,and now I want to bring to front window,which miniature I click
On taskbar I have 2 miniatures : Of mainform and form opened from mainform using
with TfrZadaniaMain.Create(Application) do
try
Show;
where TfrZadaniaMain is name of second form visible in miniatures.
And I have problems with switching between this two forms by clicking on it miniature
In create params of TfrZadaniaMain I have:
procedure TfrZadaniaMain.CreateParams(var Params: TCreateParams);
begin
inherited CreateParams(Params);
Params.ExStyle := Params.ExStyle or WS_EX_APPWINDOW;
end;
but this doesn't help. On both mainform and TfrZadaniaMain on FormActivate event I have BringToFront,but probably I need something more to comfortable switching between these two forms
On taskbar I have 2 miniatures : Of mainform and form opened from mainform using
with TfrZadaniaMain.Create(Application) do
try
Show;
where TfrZadaniaMain
is name of second form visible in miniatures.
And I have problems with switching between this two forms
In create params of TfrZadaniaMain
I have:
procedure TfrZadaniaMain.CreateParams(var Params: TCreateParams);
begin
inherited CreateParams(Params);
Params.ExStyle := Params.ExStyle or WS_EX_APPWINDOW;
end;
but this doesn't help. On both mainform and TfrZadaniaMain
on FormActivate
event I have BringToFront
,but probably I need something more to comfortable switching between these two forms