Lazarus

Installation => General => Topic started by: janhsh on August 31, 2018, 03:43:38 pm

Title: Display notifications
Post by: janhsh on August 31, 2018, 03:43:38 pm
Hello,

Does anyone know how to display a notification in MS windows.
The notification must appear in the MS windows notification area

thank you in advance
Title: Re: Display notifications
Post by: taazz on August 31, 2018, 04:42:28 pm
Hello,

Does anyone know how to display a notification in MS windows.
The notification must appear in the MS windows notification area

thank you in advance
here is a sample from microsoft for C++ and C# (https://code.msdn.microsoft.com/windowsdesktop/Sending-toast-notifications-71e230a2/sourcecode?fileId=51046&pathId=1859297009) that should get you started. As far as I know this is only available on windows8 and 10 It will not work on windows lower than 8 so you better link with the api dynamicaly to avoid crashes.
Title: Re: Display notifications
Post by: Alexandr R on April 07, 2020, 10:47:57 am
THintWindow?
Title: Re: Display notifications
Post by: jwdietrich on April 07, 2020, 12:41:48 pm
THintWindow?

Isn't this the small yellow hint box that pops up when the mouse is over a control?
Title: Re: Display notifications
Post by: zoltanleo on April 07, 2020, 05:57:06 pm
In my opinion, to solve the problem it’s enough to use TTrayIcon  :)
TinyPortal © 2005-2018