1. Home
  2. Computing & Technology
  3. Delphi Programming

Hide the Clock icon on Windows Tray

By , About.com Guide

Here's how to hide the Click icon on the Windows Tray using Delphi API calls:

~~~~~~~~~~~~~~~~~~~~~~~~~
ShowWindow(FindWindowEx(FindWindowEx(
FindWindow('Shell_TrayWnd', nil),HWND(0),
'TrayNotifyWnd', nil), HWND(0),
'TrayClockWClass', nil), Sw_Hide) ;

~~~~~~~~~~~~~~~~~~~~~~~~~

Delphi tips navigator:
» Get Filenames from Clipboard
« Another way to disable screen saver

Explore Delphi Programming
About.com Special Features

The Best Web Trends of the Decade

A look back at the best innovations, ideas and technologies over the last 10 years, More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Delphi Programming
  4. Coding Delphi Applications
  5. Delphi Tips and Tricks
  6. 2001 Delphi Tips
  7. Hide the Clock icon on Windows Tray

©2010 About.com, a part of The New York Times Company.

All rights reserved.