How do i use winrt/c++ add my apps to " System ->Notifications->Notifications from apps and other senders" in windows11 ?

Ida Su 1 Reputation point
2022-08-02T10:01:15.187+00:00

How do i use winrt/c++ add my apps to " System ->Notifications->Notifications from apps and other senders" in windows11 ?

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,620 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,627 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,737 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,688 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 39,646 Reputation points
    2022-08-04T07:42:20.647+00:00

    Hi there,

    In Visual Studio, you can use the Events tab of the Properties window to add event handlers within a C++/WinRT project. You can also add event handlers to your code manually—see Handle events by using delegates in C++/WinRT for more info.

    https://learn.microsoft.com/en-us/windows/uwp/cpp-and-winrt-apis/intro-to-using-cpp-with-winrt

    --------------------------------------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept it as an answer--


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.