Solved

App in the Icon Tray - Full Answer

Posted on 1997-05-28
7
305 Views
Last Modified: 2010-08-05

I have been reading articles in FAQs about putting a
"Delphi Apps Icon on the Icon Tray".

But none I have seen so far come close to answering
all the questions related to putting Apps on the
Windows 95 Icon Bar.

Also, I haven't found any that work for Delphi v1.

I am reluctant to use a Third Party components for the
usual reasons.


Terminology :  So we don't get confused :

Tray Bar - the resizable Windows 95 Tray Bar where all user executed
  applications, like Word, Excel, etc keep their icons / names.
  Has the "START" menu icon on it and the Icon Bar.

Icon Bar - the small rectangular part of the Tray Bar where the time,
  speaker volume, and other application's icons are displayed (like
  McAfee Virus scan, Cleansweep, etc).

Can anyone tell me :

1. What I need to do to put an App on the Icon Bar.

2. How to achieve this under Delphi v1 and Delphi v2.

3. How to get your application to pop back up when you
   double click on the icon in the Icon Bar.

4. How to provide a popup menu (right clicking) on the icon
   on the Icon Bar.

5. How to remove the App's icon and name from the Tray Bar
   and the ALT-TAB list of applications.

6. How to embed the icon data in your application so that you
   don't need to point to an icon file for your icon tray icon ?
   
0
Comment
Question by:moose032797
  • 5
7 Comments
 
LVL 2

Expert Comment

by:alona041797
ID: 1336628
There is a freeware component on the DSP called TrayIcon that does all that except it's delphi 2.

The DSP is at: http://sunsite.icm.edu.pl/delphi/

You cannot put a tray icon under delphi 1.0 because win3.1 does not have a tray and delphi 1 is for win3.1
0
 

Author Comment

by:moose032797
ID: 1336629
I have checked out Tray Icon previously.

I don't like Third Party Components - for the usual reasons - as stated above.

Also, Tray Icon doesn't do all I mentioned above.

I have had enough pain and aggravation trying to upgrade to Delphi v2.0 - the last thing I need is more aggravation / debugging for componets that stop working.

I need to know exactly how to do it for myself.

PLEASE - NO Third Party Components !

0
 
LVL 3

Accepted Solution

by:
mheacock earned 100 total points
ID: 1336630
There is an in-depth article on Win95 Tray Icons in the
August 1996 issue of The Delphi Magazine.

It only covers D2.  I really doubt you'll find much success
getting a D1 app to load itself onto the tray...they are using
different APIs.

Anyhow, I can send you a high quality scan of the article if
you'd like.  All I need is your e-mail address and for you to
grade this answer with an A grade.  You'll receive 200 DPI
GIFS of each page of the article.  Perfect for printing out.
I've done this before...you'll like them.  It is a good article.
All the source code you'll need is in the article.

I will not send article until I've received a grade.  Too many
bad experiences with sending people stuff here and then they
ignore E-E and do not grade my efforts.  I do have a flawless
record for sending what I say I will send.  So not to worry
on your part.

NOTE TO OTHERS:  THIS OFFER IS OPEN ONLY TO MOOSE.  IF YOU WISH
A COPY OF THE ARTICLE, PLEASE POST A QUESTION HERE VALUED AT
100 POINTS.
0
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 
LVL 3

Expert Comment

by:mheacock
ID: 1336631
BTW, the article covers all the points you laid out except that
it does not cover Delphi 1.  But like I said, I doubt you'll
have much luck with D1.
0
 
LVL 3

Expert Comment

by:mheacock
ID: 1336632
Another point:  if you don't want to make your e-mail address
public, you can mail it to me at:

      cerebus@islandnet.com
0
 
LVL 3

Expert Comment

by:mheacock
ID: 1336633
Were you interested in this article?
0
 
LVL 3

Expert Comment

by:mheacock
ID: 1336634
You are a good man !!

Your help is much appreciated !

Moose
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

776 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