Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 328976 - event.doit = false for SWT.Close does not work on WM6
Summary: event.doit = false for SWT.Close does not work on WM6
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: ERCP (show other bugs)
Version: unspecified   Edit
Hardware: Other Windows Mobile 5.0
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: ercp.eswt CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-28 16:22 EDT by Wolfgang Röckelein CLA
Modified: 2021-07-15 12:17 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfgang Röckelein CLA 2010-10-28 16:22:06 EDT
shell = new MobileShell(display, SWT.CLOSE);
shell.addListener(SWT.Close, new Listener() { public void handleEvent(Event event) {
event.doit = false;
}});

Shell is closed when clicking on the x in the right upper corner.
Expected: shell stays open as on Win32.