How to show balloon tip message in windows notification center(Windows 11)?

Jojo 20 Reputation points
2023-09-08T07:28:01.9766667+00:00

I use this API (Shell_NotifyIcon(NIM_MODIFY, &m_nidIconData);) to show balloon tip

In windows 10, balloon tip message will show in notification center normally.

In windows 11, balloon tip appear normally but it's message not show in notification center.

In win11, use another api to show message in windows notification center?

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,588 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,463 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  2. Castorix31 84,546 Reputation points
    2023-09-08T19:30:35.2766667+00:00
    0 comments No comments

  3. Jeanine Zhang-MSFT 9,661 Reputation points Microsoft Vendor
    2023-09-11T02:31:25.0133333+00:00

    Hello,

    Welcome to Microsoft Q&A!

    As far as I'm concerned, there is no need to use another API to show message in windows notification center.

    Have you set the Show notifications in notification center for the app?

    User's image

    I suggest you could try the official sample to check whether the message is displayed in the notification center.

    I test the code on win11, the message could be displayed in the notification center.

    And you could refer to the Doc: Notifications and the Notification Area

    Thank you.

    Jeanine


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


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.