Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Message sent to System Tray App

Posted on 2002-04-28
2
Medium Priority
?
180 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
[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
2 Comments
 
LVL 12

Accepted Solution

by:
Lee_Nover earned 200 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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

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…
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…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

610 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