Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

App in the Icon Tray - Full Answer

Posted on 1997-05-28
7
Medium Priority
?
318 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 400 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

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…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Suggested Courses

971 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