Mega Code Archive

 
Categories / Delphi / Forms
 

How to add several forms to TaskbarTask Manager

Title: How to add several forms to Taskbar/Task Manager type TForm2 = class(TForm) protected procedure CreateParams(var Params: TCreateParams); override; end; {....} type implementation {....} type procedure TForm2.CreateParams(var Params: TCreateParams); begin inherited; Params.ExStyle := Params.ExStyle or WS_EX_APPWINDOW; end; // To Show a Form in the taskbar anytime: SetWindowLong(FromX.Handle, GWL_EXSTYLE, WS_EX_APPWINDOW);