I Have tried several solutions but it never do as i wanted to do. I have tried to implement this code in the mainform
protected
procedure CreateParams(var Params: TCreateParams); override;
//...
procedure TForm.CreateParams(var Params: TCreateParams);
begin
inherited CreateParams(Params);
if Assigned(Application.MainForm) then
begin
Params.WndParent := GetDesktopWindow;
Params.Style := WS_CHILD;
end;
end;
[/color red]
but it pops up to the top sometimes when i open a webpage, start another program that fills the desktop. I want it to be pinned to the desktop. always on bottom
tried also a component that should force the application to stay on desktop, but i guess i've missed something, 'cause it didn't worked so good either- MY main form have no caption, and it transparent, just have some text on it, so it just looks silly if it doesn't stay the way i wanted pls help me out if someone have a solution or know a VCL that can fix this
protected
procedure CreateParams(var Params: TCreateParams); override;
//...
procedure TForm.CreateParams(var Params: TCreateParams);
begin
inherited CreateParams(Params);
if Assigned(Application.MainForm) then
begin
Params.WndParent := GetDesktopWindow;
Params.Style := WS_CHILD;
end;
end;
[/color red]
but it pops up to the top sometimes when i open a webpage, start another program that fills the desktop. I want it to be pinned to the desktop. always on bottom
tried also a component that should force the application to stay on desktop, but i guess i've missed something, 'cause it didn't worked so good either- MY main form have no caption, and it transparent, just have some text on it, so it just looks silly if it doesn't stay the way i wanted pls help me out if someone have a solution or know a VCL that can fix this