Get access to over 100 FireMonkey cross platform samples for Android, IOS, OSX, Windows, and Linux!

AppmethodDelphiDemoFiremonkeyIDEWindows

Send WinRT API Notifications In #Delphi XE8 Firemonkey On Windows 10

Delphi XE8 Firemonkey Windows 10 NotificationsDeveloper Marco Cantu from Embarcadero released a VCL example for sending Windows 10 notifications with Delphi XE8. I have converted this example over to Firemonkey. Apparently Windows 10 has a notification system vary similar to the notification system in Android and IOS. The first thing you need to get this example working is to install the WinRT API by clicking Tools|GetIt Package Manager in the Delphi XE8 IDE. I did have to make a few changes to the code for it to compile under FMX. These were converting Application.Handle to FmxHandleToHWND(Form1.Handle), converting Application.ExeName to ParamStr(0), and adding Winapi.Windows to the units section for MAX_PATH. I don’t have a Windows 10 machine so you’ll have to compile it and see if it works for you. Under Windows 8.1 it compiles and runs without errors. You should also be able to use this code with Appmethod.

Download the source code for sending Windows 10 notifications with Delphi XE8 Firemonkey.

Have Delphi Firemonkey questions? Ask and get answers on StackOverflow.

Related posts
DelphiFiremonkeyIDEIOSOSXWindows

DelphiCon 2020 FireMonkey Sessions Available Starting November 19

AndroidC++BuilderDelphiDemoFiremonkeyWindows

Powerful Commercial Gorilla3D Framework Upgraded For Delphi FireMonkey On Windows And Android

AndroidC++BuilderCode SnippetDelphiDemoFiremonkeyIOSOSXShowcaseWindows

Powerful Cross Platform Email App Sample In Delphi 10.4.1 FireMonkey For Android And IOS

AndroidC++BuilderDelphiFiremonkeyIOSOSXWindows

Significant Update Available For Delphi FireMonkey 10.4.1 On Android, IOS, OSX, Windows, And Linux

Sign up for our Newsletter and
stay informed

Leave a Reply