Windows with Delphi Windows API (94) Windows Filesystem (41) Windows Forms (69) Windows Graphics (38)
Exchange Links About this site Links to us 
|
How to minimize a secondary form to the taskbar
This article has not been rated yet. After reading, feel free to leave comments and rate it.
You can minimize a secondary-form to the taskbar using the following piece of code:
 | |  | |
type
TForm = class(TForm)
...
private
procedure CreateParams(var Params: TCreateParams); override;
end;
implementation
.....
procedure TForm.CreateParams(var Params: TCreateParams);
begin
inherited CreateParams(Params);
with Params do exStyle := exStyle or WS_EX_APPWINDOW;
end; | |  | |  |
Comments:
|