Solved

Message sent to System Tray App

Posted on 2002-04-28
2
172 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 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

726 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