Solved

App in the Icon Tray - Full Answer

Posted on 1997-05-28
7
303 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
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

760 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now