Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] Middle mouse button causes ShellActivated event


Please open a bug report in Bugzilla against Platform SWT.
If possible, please include a snippet of code that shows the problem.
Thanks!
Carolyn



gilles fronne <gfronne@xxxxxxxx>
Sent by: platform-swt-dev-admin@xxxxxxxxxxx

09/10/2004 10:22 AM

Please respond to
platform-swt-dev

To
platform-swt-dev@xxxxxxxxxxx
cc
Subject
[platform-swt-dev] Middle mouse button causes ShellActivated event





Hi,

I'm using SWT in stand alone mode (eclipse v2.1.3) on
Windows XP.

I have a SashForm object. In the top part of the sash
form, my application data are displayed. Each
ShellActivated event causes the refresh of these data.

The bottom part of the sash form contains directly a
Text  object. When the user clicks in this text area
with the middle mouse button, the ShellActivated event
is sent (I don't know why), others mouse buttons don't
have the same behavior.

I've tried to add a MouseButtonListener on the Text
object (doing nothing for a button 2 click), in this
case the first click sends the ShellActivated event,
not the others (if the window looses focus and gets it
again, the first click sent the event again).

Does someone knows the causes of this behavior and how
to change it (keeping the normal behavior of others
buttons, and doing nothing for the middle one) ?

Thanks in advance

Gilles


               

               
                                 
Vous manquez d’espace pour stocker vos mails ?
Yahoo! Mail vous offre GRATUITEMENT 100 Mo !
Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/

Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés pour dialoguer instantanément avec vos amis. A télécharger gratuitement sur http://fr.messenger.yahoo.com
_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-swt-dev


Back to the top