[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.platform.swt] Re: [How to] SWT -> Listeners for MenuItem
|
I believe there was a bug fixed for 3.0. Can you upgrade?
"Philippe Hordonneau" <philippe.hordonneau@xxxxxxx> wrote in message
news:d7t2au$cb1$1@xxxxxxxxxxxxxxxxxxx
> Thanks Steve to answer.
>
> No the snippet doesn't. I must click on the menu item "File" do see the
text
> in the status line.
> That I want is to see the text of the items of the menu bar as soon as the
> mouse cursor is over them, without clicking.
> I am using Eclipse 3.0.2 under Windows XP
> I have tried a lot of things. Do you have any solution?
>
> "Steve Northover" <steve_northover@xxxxxxxxxx> a écrit dans le message de
> news:d7q0a2$ee8$1@xxxxxxxxxxxxxxxxxxx
> > Yes, it will be sent when the item is armed. Does the snippet
WORKFORYOU?
> >
> > "Didier Montet" <didier.montet@xxxxxxxxx> wrote in message
> > news:d7l7f9$f5f$1@xxxxxxxxxxxxxxxxxxx
> > > I don't know weither it is a bug or not. I thought the SWT.Arm event
was
> > > sent when the mouse cursor was over the menu item. The mechanism
doesn't
> > > seem to be so. So I don't know which listener I must add neither which
> > > object will be the right one to listen.
> > > Have you any idea?
> > > Thanks a lot.
> > >
> > > > See
> > > >
> > >
> >
>
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet152.java?rev=HEAD&content-type=text/vnd.viewcvs-markup
> > > >
> > > > I'm not sure what you mean "the user must click onto the menu to
> > generate
> > > > the event". Do we have a bug?
> > > >
> > > > "News" <didier.montet@xxxxxxxxx> wrote in message
> > > > news:d7idv4$4h5$1@xxxxxxxxxxxxxxxxxxx
> > > > > I would like to display a text in a status bar when the mouse
cursor
> > is
> > > > over
> > > > > a menu item of a menu bar (for example the classic menu "&File" of
a
> > bar
> > > > > menu). I am not satisfied with the arm listener: the user must
click
> > > onto
> > > > > the menu item to generate the event. The Menu listener added to
the
> > menu
> > > > > associated with the menu item neither answers the question as it's
> > still
> > > > > necessary to click the menuitem.
> > > > > The menu item is displayed in 3D when the mouse cursor is over the
> > menu
> > > > > item. Which object is responsible for the displaying? Which event
is
> > > > > treated?
> > > > >
> > > > > Thanks a lot for your help
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>