Jump to content
Sign in to follow this  
ioan

Change notification to not show the exe's name?

Recommended Posts

I'm using TTrayIcon to show notifications and I would like to change the notification title(?) from exe's name to my custom string (circled in the attached picture). Is it possible?

 

This is my code to show the notification:

 

procedure TfrmQueue.ShowMyNotification(ATitle, ABody: string);
begin
  TrayIcon.BalloonTimeout := 3000;
  TrayIcon.BalloonTitle := ATitle;
  TrayIcon.BalloonHint := ABody;
  TrayIcon.ShowBalloonHint;
end;

 

notification.png

Share this post


Link to post
Guest

my fault...

Edited by Guest

Share this post


Link to post
On 12/27/2020 at 5:16 AM, Lars Fosdal said:

@ioan - Do you have a more descriptive name in the version resource?

That did it. Thank you!

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×