Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Hide MWindow
Hide MWindow [message #1346554] Sat, 10 May 2014 13:26 Go to next message
Jeyhun MAMEDOV is currently offline Jeyhun MAMEDOV
Messages: 9
Registered: March 2014
Junior Member
Is it possible to hide MWindow instance on close and minimize button
action instead of closing or minimizing.

Re: Hide MWindow [message #1371826 is a reply to message #1346554] Wed, 21 May 2014 11:04 Go to previous message
Eric Moffatt is currently offline Eric Moffatt
Messages: 118
Registered: July 2009
Senior Member
yes, there's an SWT ShellListener that you can use to trap the events, call 'shell.setVisible(false)' and then set the 'event.doit' to false to prevent the system from doing its normal behavior...
Previous Topic:Visibility of toolbar items in Eclipse 4 model
Next Topic:Part destruction when parent is removed from application model
Goto Forum:

Current Time: Wed Aug 27 11:21:54 EDT 2014

Powered by FUDForum. Page generated in 0.03769 seconds