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: 18
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:Proper way to open window second time, after closing it once
Next Topic:How to pass objects parameters from wizard to MPart?
Goto Forum:
  


Current Time: Tue Mar 28 17:58:03 GMT 2017

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

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