I know how to trap when the user clicks on the body of the balloon, with NIN_BALLOONUSERCLICK, but how to trap when the user clicks on the "X" button in the upper right corner?![]()
Thanks!
This is a discussion on Balloon tip question: Trap when the user clicks on "X" within the Windows Programming forums, part of the Platform Specific Boards category; I know how to trap when the user clicks on the body of the balloon, with NIN_BALLOONUSERCLICK, but how to ...
I know how to trap when the user clicks on the body of the balloon, with NIN_BALLOONUSERCLICK, but how to trap when the user clicks on the "X" button in the upper right corner?![]()
Thanks!
* Debian 6.0.1 on Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM.
* lighttpd, php5, perl, eruby, python.
* geany, XHTML & CSS & JavaScript, C, C++.
* GTK+ C & perl-gtk2
if there is no message type for it, maybe you should subclass its wndproc and trap WM_CLOSE.
Sounds an idea...
Do you know how to get its hwnd?
* Debian 6.0.1 on Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM.
* lighttpd, php5, perl, eruby, python.
* geany, XHTML & CSS & JavaScript, C, C++.
* GTK+ C & perl-gtk2
I've never dealt with these balloon windows, but if you are handling a NIN_BALLOONUSERCLICK message sent to it, you must have it's handle somewhere.
Thanks... I'll play with it![]()
* Debian 6.0.1 on Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM.
* lighttpd, php5, perl, eruby, python.
* geany, XHTML & CSS & JavaScript, C, C++.
* GTK+ C & perl-gtk2