Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Stand-alone Menus
Stand-alone Menus [message #465361] Fri, 09 December 2005 18:37 Go to next message
Eclipse UserFriend
Originally posted by: rango.belgacom.net

The problem: I do not want MenuBar to be my main menu. Instead, I would like
my menu to look like a Popup menu. Only problem with existing popup menus is
that they disappear when I press ESC (or when I click outside their area).

Does anyone have any idea/suggestion what I can do to keep them fixed to the
Shell during the application life time?
Re: Stand-alone Menus [message #465945 is a reply to message #465361] Sat, 24 December 2005 05:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rango.belgacom.net

Come on.... There must be someone who has some idea :-(

"r@ngo" <rango@belgacom.net> wrote in message
news:dncito$i2d$1@news.eclipse.org...
>
> The problem: I do not want MenuBar to be my main menu. Instead, I would
> like my menu to look like a Popup menu. Only problem with existing popup
> menus is that they disappear when I press ESC (or when I click outside
> their area).
>
> Does anyone have any idea/suggestion what I can do to keep them fixed to
> the Shell during the application life time?
>
Re: Stand-alone Menus [message #465947 is a reply to message #465361] Sun, 25 December 2005 00:49 Go to previous messageGo to next message
Daniel Spiewak is currently offline Daniel SpiewakFriend
Messages: 263
Registered: July 2009
Senior Member
That's odd, I thought I had already replied to this one...

The short answer is no, there is no way. At least, not with native menus. Most platforms don't support that sort of functionality. What you'll have to do is emulate the funcitonality by drawing the menus yourself. Be forwarned though, this is not going to look native if you try it.
Re: Stand-alone Menus [message #465949 is a reply to message #465947] Sun, 25 December 2005 16:34 Go to previous message
Eclipse UserFriend
Originally posted by: rango.belgacom.net

Tx Daniel ! Bad news indeed, but at least I know now that its impossible ...

"Daniel Spiewak" <djspiewak@gmail.com> wrote in message
news:3682656.1135471806914.JavaMail.root@cp1.javalobby.org...
> That's odd, I thought I had already replied to this one...
>
> The short answer is no, there is no way. At least, not with native menus.
> Most platforms don't support that sort of functionality. What you'll have
> to do is emulate the funcitonality by drawing the menus yourself. Be
> forwarned though, this is not going to look native if you try it.
Previous Topic:Wrapping StyledText on a form with TableWrapLayout
Next Topic:Context Help
Goto Forum:
  


Current Time: Fri Apr 26 14:04:27 GMT 2024

Powered by FUDForum. Page generated in 0.03048 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top