Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Stand-alone Menus
Stand-alone Menus [message #465361] Fri, 09 December 2005 13: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 00: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] Sat, 24 December 2005 19:49 Go to previous messageGo to next message
Eclipse UserFriend
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 11: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 Jul 25 01:33:08 EDT 2025

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

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

Back to the top