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

Posted on 2006-05-26
Last Modified: 2010-04-05
Hi! Experts.

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

Can someone give me some suggestion?

Question by:xtrue
    1 Comment
    LVL 11

    Accepted Solution


    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"


    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
    Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    728 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

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now