Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Hide popup menu
Hide popup menu [message #766737] Fri, 16 December 2011 10:38 Go to next message
Jan Krakora is currently offline Jan Krakora
Messages: 477
Registered: December 2009
Location: Prague
Senior Member
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 12:15 Go to previous messageGo to next message
Thomas Singer is currently offline Thomas Singer
Messages: 75
Registered: July 2009
Member
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 08:49 Go to previous message
Jan Krakora is currently offline Jan Krakora
Messages: 477
Registered: December 2009
Location: Prague
Senior Member
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 Sep 21 20:21:16 GMT 2014

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

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