Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6154615
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T20:17:35+00:00 2026-05-23T20:17:35+00:00

I am working on a very big and complex application for Windows written in

  • 0

I am working on a very big and complex application for Windows written in C++ and using MFC.

I am working on this bug, where if a user presses on a balloon tooltip, it won’t close, only after a timeout.

The thing is that I got the NIN_BALLOONUSERCLICK event and managed to close the tooltip, but I can’t seem to catch the event raised when the user presses on the “X” button in the upper right corner.

Can anyone help me? What event should I look for? I’ve spent around 3 days of searching the Internet, but no one seems to know of a way.

If you can tell me how to make the “X” close button disappear, that would be okay, too!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T20:17:36+00:00Added an answer on May 23, 2026 at 8:17 pm

    The reason you can’t find any such event is because one does not exist. It is not possible to distinguish between the balloon being closed because the user clicked somewhere on it and the balloon being dismissed because the user clicked specifically on the close (“X”) button.

    More information can be found in this article on Raymond Chen’s blog: Why don’t notification icons get a message when the user clicks the “X” button?

    Basically, the event doesn’t exist to keep you from doing bad things, like annoying your users. There’s absolutely no reason that you should need to do something different based on how the user dismissed the balloon notification.

    Making the “X” button disappear is definitely the wrong choice. Asking for that makes it sound like you’re exactly the developer that the Windows Shell team was trying to protect us from. Glad someone has our back as unsuspecting users of your application. Users like to be able to dismiss things. Usability studies have repeatedly indicate that it’s extremely stressful and confusing for users when there is no “Cancel” button. You need to work within the constraints of sensible, user-friendly design.

    NIN_BALLOONUSERCLICK is the right choice. The tooltip will be dismissed when the user clicks on it. The documentation explains all of the various notifications that are available in greater detail.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need help working with very big numbers. According to Windows calc, the exponent
I'm working on a pretty big enterprise application using Perl, has tens of modules,
I have developed a simple location aware iPhone application which is functionally working very
Currently I'm prototyping search with Lucene.Net-2.0-004 on a web application. It's working very well,
I am working on a very large scale computing library that is using STL
I'm working with a very big text file (755Mb). I need to sort the
I am working with a very big project (a solution that contains 16 projects
At the moment I'm working on a very big database model for one of
I implement very big script logic using jquery plugin at caret(http://code.google.com/p/jquery-at-caret/), but now when
I'm working on very big project - quiz system (examination). And have a few

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.