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 17:26 Go to next message
Jeyhun MAMEDOV is currently offline Jeyhun MAMEDOVFriend
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.

Thanks
Re: Hide MWindow [message #1371826 is a reply to message #1346554] Wed, 21 May 2014 15:04 Go to previous message
Eric Moffatt is currently offline Eric MoffattFriend
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: Thu Nov 27 16:30:37 GMT 2014

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

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