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 11 10 XE8 XE7 XE Seattle Berlin Tokyo Rio Firemonkey Delphi Android Delphi IOS

Delphi XE8 Firemonkey Windows 10 Notifications | Delphi 11 10 XE8 XE7 XE Seattle Berlin Tokyo Rio Firemonkey Delphi Android Delphi IOSDeveloper 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
DelphiDemoFiremonkeyLinuxOSXShowcaseWindows

AutoBlogAI: FireMonkey Client To Leverage LLMs And Generative AI For Blogging

DelphiFiremonkeyShowcaseUtilityWindows

Unleashing Creativity With Song Writer AI: A Deep Dive

DelphiFiremonkeyShowcaseWindows

How To Build Stable Diffusion Text To Image Prompts

AndroidC++BuilderDelphiFiremonkeyIOSOSXWindows

FireMonkey 10.4.2 Features Updated iOS 14, Android 11, And macOS 11 Support Plus Hundreds Of Fixes

Sign up for our Newsletter and
stay informed

Leave a Reply