Windows 8 has a new message window that displays in the top right side of the screen. Does Delphi XE4 have any API to access this new feature?
- That's only for Modern-Style Windows Store Apps (Metro)SLaks– SLaks2013-08-18 15:15:39 +00:00Commented Aug 18, 2013 at 15:15
- Are you sure this is true? I ask this because the window also appears on the desktop. If it is only for Metro, is there a Metro API for its use?Bill– Bill2013-08-18 15:16:58 +00:00Commented Aug 18, 2013 at 15:16
- 2If this feature is accessible from a native Win32 application (using the Windows API, for instance), then you can use it in any version of Delphi.Andreas Rejbrand– Andreas Rejbrand2013-08-18 15:30:38 +00:00Commented Aug 18, 2013 at 15:30
- First of all you need to find out what this feature is called. Then you'll be able to find the developer docs. And so on.David Heffernan– David Heffernan2013-08-18 16:04:33 +00:00Commented Aug 18, 2013 at 16:04
2 Answers
This kind of dialog is part of the Windows.UI.Notifications namespace which belongs to the WinRT, and unfortunately you cannot access the WinRT from Delphi directly. but maybe you can try this article to check a sample with experimental access to the WinRT from Delphi, Writing Hello World for WinRT in Delphi
3 Comments
This is Notifications or Toasts, you can find a C++ and C# example here - http://code.msdn.microsoft.com/windowsdesktop/Sending-toast-notifications-71e230a2
I've yet to see a direct Delphi implementation of this which is why I can only suggest the C++/C# version.