[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.swt] Closing a Modal MessageBox in code
|
- From: vadalus@xxxxxxxxx (Vadalus)
- Date: Tue, 15 Jul 2003 14:43:17 +0000 (UTC)
- Newsgroups: eclipse.platform.swt
- Organization: http://news.eclipse.org
- User-agent: NewsPortal/0.25 (http://florian-amrhein.de/newsportal/)
HI all,
Can anyone tell me whether it is possible to close a modal messagebox
(org.eclipse.swt.widgets.MessageBox) from code? I need to be able to close
down an open modal dialog box in some circumstance in my code (when
shutting down for example, or a new condition arises which is more
important than the message in the modal dialog). I could convert this to
use a modless dialog box but I do need the behaviour of a modal dialog
99.9% of the time.
I checked the obvious like 'dispose()' but no much method exists.
Thanks