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!
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!
* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with xfce4.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with xfce4.
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?
* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with xfce4.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with xfce4.
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
* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with xfce4.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with xfce4.