Working on a service application in Delphi 5 that is intended to run on Windows XP – 7. Most of the application is coming together nicely, but I’m running into one issue. Part of this service application is a form that displays data occasionally (similar to the slider box Avast uses to let you know its updated). When the service shows the form, the form displays on the taskbar, but we don’t want it to. Does anyone have any suggestions as to how to hide the form’s button on the taksbar? None of the standard methods I’ve found for regular applications have worked so far. Thanks.
Share
Override the form’s
CreateParamsmethod and add theWS_EX_TOOLWINDOWvalue to theParams.ExStylefield. That will flag it as a tool window, which won’t have a taskbar entry.