HomeBlogSharewareFreewareDownloadsEditorialsArticlesStuffAbout

TniTrayIcon

Download

Download the source code for the Tray Icon Delphi component: TniTrayIcon10.zip - 2KB

System Requirements

Delphi Version: Any Win32 edition of Delphi; tested on versions 3, 4, 5 and 7.

While it's untested on Delphi 2, Delphi 6, and all versions of C++ Builder, I know of no reason why it won't work. Please let me know if you can confirm one way or the other.

Licensing

This component is freeware - use it or not, at your choice. Pass it along, or not, at your choice. The only restriction is that you distribute only the original file as downloaded.

Overview

This is (yet) another Delphi component which allows you to put an Icon on the taskbar.

I wrote this as an exercise in delving directly into the Windows API to accomplish something not provided as a neat wrapper by Delphi. With this under my belt, I've been able to make better headway understanding the implementation of some of the VCL, especially wrapper classes such as TCustomListView which make a standard windows control accessible.

The OOS Alarm application makes use of this component to hide itself out of the way.

Features

  • Puts Icon in System tray;
  • Can hide the main application window from the Taskbar;
  • Has Popup Menu property;
  • Has OnClick and OnDblClick events for activating your application;
  • Icon can be Shown/Hidden at Designtime;
  • Hint defaults to application name if not set;
  • Comes with full source.

Version History

1.0

First public release, as used in the OOSalarm application.