How to catch/process mouse clicks on a balloon?

View: New views
2 Messages — Rating Filter:   Alert me  

Parent Message unknown How to catch/process mouse clicks on a balloon?

by Ilya BANDORIN :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

Does anybody know if it is possible to execute a subroutine when user
clicks on a popup balloon of NotifyIcon? Now it just closes on mouse
click. Can't find any solution for this.

Regards, Ilya


=======================================================

Ce message et toutes les pieces jointes (ci-apres le "message")
sont confidentiels et etablis a l'intention exclusive de ses destinataires.
Toute utilisation ou diffusion non autorisee est interdite.
Tout message electronique est susceptible d'alteration.
La SOCIETE GENERALE et ses filiales declinent toute responsabilite
au titre de ce message s'il a ete altere, deforme ou falsifie.
                               
=======================================================

This message and any attachments (the "message") are confidential
and intended solely for the addressees.
Any unauthorized use or dissemination is prohibited.
E-mails are susceptible to alteration.  
Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates
shall be liable for the message if altered, changed or falsified.

=======================================================

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Perl-Win32-GUI-Users mailing list
Perl-Win32-GUI-Users@...
https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
http://perl-win32-gui.sourceforge.net/

Re: How to catch/process mouse clicks on a balloon?

by Robert May-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2008/4/15 Ilya BANDORIN <Ilya.Bandorin@...>:
>  Does anybody know if it is possible to execute a subroutine when user
>  clicks on a popup balloon of NotifyIcon? Now it just closes on mouse
>  click. Can't find any solution for this.

Yes, it's possilbe.  Look at the code for the NotifyIcon.pl sample
that is installed with Win32::GUI (try running the win32-gui-demos
script if you haven't before),  and check out the NIN_BALLOONUSERCLICK
message.  Post back if you need more assistance.

Regards,
Rob.

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Perl-Win32-GUI-Users mailing list
Perl-Win32-GUI-Users@...
https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
http://perl-win32-gui.sourceforge.net/
LightInTheBox - Buy quality products at wholesale price