* * *

Author Topic: Display notifications  (Read 1106 times)

janhsh

  • New member
  • *
  • Posts: 10
    • http://www.houbart.be
Display notifications
« 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

taazz

  • Hero Member
  • *****
  • Posts: 5337
Re: Display notifications
« Reply #1 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# 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.
Good judgement is the result of experience … Experience is the result of bad judgement.

OS : Windows 7 64 bit
Laz: Lazarus 1.4.4 FPC 2.6.4 i386-win32-win32/win64

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus