[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: GlassPane? (was Re: Opaque Canvas)

When a control is disabled, mouse events go to the parent.  You can capture
events for a control by disabling the parent and then looking for events in
the parent's parent.

"Robb Shecter" <robb@xxxxxxx> wrote in message
news:dak8fo$ov5$1@xxxxxxxxxxxxxxxxxxx
> I was wondering the same thing - is there an SWT equivalent of the Swing
> glass pane?  Something that can be overlaid a bunch of controls that can
> be drawn on and will maybe capture mouse events?
>
> Thanks,
> Robb
>
> Sunil Kamath wrote:
> > "nightblue" <nightblue99@xxxxxxxxx> wrote in message
> > news:751301671cd5610b37a3602fd876d1bb$1@xxxxxxxxxxxxxxxxxx
> >
> >>Not opaque canvas , I mean non-opaque,transparent canvas....
> >>
> >
> > I don't think this is supported by SWT. You might want to try Swing
instead.
> > ---
> > Sunil
> >
> >