• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 294
  • Last Modified:

How can I hide 'any' application on taskbar by delphi

Hi! Experts.

I want to hide 'any' application on taskbar by delphi such as
Office, Nero, Notepad etc...

Can someone give me some suggestion?

1 Solution
A. Cristian CsikiSenior System AdministratorCommented:

The next code will hide Win Calculator.

var cn: pchar;
cn := 'SciCalc';  //class name
ShowWindow(FindWindow(cn,nil), SW_HIDE)

Here are some more common
applications class names:

Windows Accessories_ Class________________
Calculator "SciCalc"
Notepad "Nopetad"
Paint "MSPaintApp"
WordPad "WordPadClass"

Microsoft Office____ Class________________
Word 2/6/7 "OpusApp"
Excel 4/5/7 "XLMAIN"
PowerPoint 4 "PPApplicationClass"
PowerPoint 7 "PP7FrameClass"

Misc_______________ Class________________
ToolBook "ToolBook"
Windows Help "MS_WINDOC"
Explore (Win95) "ExploreWClass"

by delphi.about.com
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now