Solved

Message sent to System Tray App

Posted on 2002-04-28
2
167 Views
Last Modified: 2010-08-05
Hello -

Anyone have a sample of code (or set of componets to recommend) that would offer one main application to send a message to another application that is sitting in the system tray? It would be good too if the message would pop up the message right over the system tray application repeating the message just sent (like a balloon form) instead of the tray icon flashing (like most IRC apps) forcing the user to click on the system tray icon to get the message.

For example:

App1, sitting in the system tray area, is waiting for a message.

App2 is loaded and user types in a message into an edit box and then presses the 'ok' button.

App1 pops up a 'form' indicating a message was sent and the message was.....

TIA -

RB
0
Comment
Question by:routerboy309
2 Comments
 
LVL 12

Accepted Solution

by:
Lee_Nover earned 50 total points
ID: 6974971
you can use WM_COPYDATA message
I reccomend TCoolTrayIcon for the tray icon :)
so ..
check out my post on this at http://www.delphi-si.com/forum/prikazisporocila.php?tema=34&mesto=def

the comments are in slovene, but the code is wel understandable
in the client you'll probably use the SendBuffer method
in the servers GetData procedure check if it's a string: in this case Command = 1
then if you're using the TCoolTrayIcon simply do:
CoolTrayIcon.ShowBalloonHint('Title', 'Message', bitInfo, 10);


if you still need help just ask :)
0
 

Author Comment

by:routerboy309
ID: 7168551
Thank you..
Jim
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
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…
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…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

863 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

18 Experts available now in Live!

Get 1:1 Help Now