Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Hide popup menu
Hide popup menu [message #766737] Fri, 16 December 2011 05:38 Go to next message
Eclipse UserFriend
Hi guys,

I have an open non modal dialog which contains a Table control. The table has set a popup menu.
When I right click on the table SWT.Show is fired and when click somewhere else SWT.Hide is fired. That's ok.

But when I click on the parent Shell (the root one) and then I click back to the table and pres right click,
SWT.Show is fired and immediately after that is fired SWT.Hide, so the popup menu is not shown.

Does anybody know what's happening here?

I use Windows 7.

Thanks
Re: Hide popup menu [message #767241 is a reply to message #766737] Sat, 17 December 2011 07:15 Go to previous messageGo to next message
Eclipse UserFriend
jan.krakora.cz wrote on Fri, 16 December 2011 05:38
Does anybody know what's happening here?

Sounds strange. Do you have a tiny self-contained example?

Tom
Re: Hide popup menu [message #767943 is a reply to message #767241] Mon, 19 December 2011 03:49 Go to previous message
Eclipse UserFriend
My code is part of the RCP, so the problem is maybe the platform's feature. Forget about it.
Previous Topic:Paint over any control without interrupting dnd
Next Topic:Center text on a Label with a background Image
Goto Forum:
  


Current Time: Sun Jul 27 01:53:20 EDT 2025

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

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

Back to the top