Tech Story

Menu
  • Home
  • Programing
    • Delphi
      • Database
    • Arduino
    • Android
    • Unix Socket
    • Database
  • Network
    • Mikrotik
  • Computer
  • software
    • File Recovery
    • Driver software
    • backup
    • download
    • Drivers
    • format converter
    • programing tools
    • internet
    • phone apps
    • Network
    • graphics
    • professional
    • DISK AND PARTITION
    • OPTIMIZER
    • utility
    • programming tools
    • Games
      • android games
      • computer games
      • ps4
  • Digital Coin
    • Bitcoin
    • Blockchain
  • Privacy Policy
  • contact us
  • news
  • Series and Movies
  • YouTube watch
  • Blog
    • Computer
    • Network
    • General
    • Health and Fitness
    • Management skills
    • Monuments
    • electrical and electronics
Home
Programing
Delphi
Add several forms to Taskbar/Task Manager
Programing

Add several forms to Taskbar/Task Manager

January 23, 2020

Add several forms to Taskbar/Task Manager

By default, when you create the application in Delphi, in Windows Task
Manager will be included a main form handle only. If you want to add the additional
form, you must override the CreateParams procedure:

{....}

type
  TForm2 = class(TForm)
  protected
    procedure CreateParams(var Params: TCreateParams); override;
  end;

  {....}

implementation

{....}

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);

Share
Tweet
Email
Prev Article
Next Article

Related Articles

Shade components procedure ShadeIt(f: TForm; c: TControl; Width: Integer; Color: …

Shade components

* Place a Button1 and DriveComboBox1 on your form. * …

Get the free, total size of a disk disk volume

Recent Posts

  • Change the function of the Fn key on Windows and Mac laptops
  • Hard drive not detected on Lenovo and Asus laptops
  • How to Merge Multiple PDF Files (PDF)
  • Restore virtual machine files and virtual disks
  • Troubleshooting your virus and threat protection is managed by your organization

Categories

  • Advertisement
  • Android
  • android games
  • antivirus
  • Arduino
  • audio video editor
  • backup
  • Bitcoin
  • Blockchain
  • Blog
  • Chinese medicine
  • Computer
  • Computer
  • computer games
  • Database
  • Database
  • Delphi
  • DISK AND PARTITION
  • download
  • Driver software
  • Drivers
  • electrical and electronics
  • Fashion and beauty
  • File Recovery
  • Forex Trading
  • format converter
  • General
  • general
  • graphics
  • Health and Fitness
  • Healthy Eating
  • internet
  • Management skills
  • Mikrotik
  • Monuments
  • Network
  • Network
  • News
  • Nutrition
  • Operating System
  • OPTIMIZER
  • passwords
  • phone apps
  • phone software
  • professional
  • Programing
  • programing tools
  • programming tools
  • ps4
  • Raspberry Pi
  • Series and Movies
  • software
  • Sport
  • thems
  • Uncategorized
  • Unix Socket
  • utility
  • Videos
  • YouTube watch

Tech Story

Copyright © 2021 Tech Story
Theme by MyThemeShop.com

Ad Blocker Detected

Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker.

Refresh