[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 285
  • 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?

---------
Thanks.
0
xtrue
Asked:
xtrue
1 Solution
 
A. Cristian CsikiSenior System AdministratorCommented:
hy,

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"
WinHelp32 Topic "MS_WINDOC_SECONDARY"
Explore (Win95) "ExploreWClass"

by delphi.about.com
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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