Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Hiding Taskbar Window Buttons

Posted on 1998-05-18
Medium Priority
Last Modified: 2010-04-06
I have been trying to unsuccesfully create a Delphi 2.0 App which does not place a Window Button on the Taskbar. According to the Win32 Online Help, if a Window is created with the CreateWindowEx() API call (which Delphi uses) and a style of WS_EX_TOOLWINDOW is specified, a Window Button will not be created. The delphi help suggests overriding the main form's CreateParams() method so that the style is set before the Window is created. I have tried this, and while I have managed to change the style of the window, I have not been able to stop the Window Button from appearing on the taskbar

Where am I going wrong?
Question by:sonique
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2

Accepted Solution

JimBob091197 earned 800 total points
ID: 1346192

The window on the taskbar is the TApplication's window, NOT the main form.  Add this to your main form's OnShow event:

ShowWindow(Application.Handle, SW_HIDE);


Author Comment

ID: 1346193
The hard ones are always easy in the end ... many thanks!


Expert Comment

ID: 1346194
Hehe...  there's a lot of truth in that!


Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question