Solved

App in the Icon Tray - Full Answer

Posted on 1997-05-28
7
310 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
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…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

751 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