[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.platform.swt] Doing some action upon key press
|
- From: Jens Rossbach <web001@xxxxxxxxxxxx>
- Date: Fri, 27 May 2005 17:34:09 +0200
- Newsgroups: eclipse.platform.swt
- Organization: EclipseCorner
- User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
Hello,
I have a dialog window (a progress window, which tracks a certain operation)
which should be closed when user presses ESC and the operation this dialog
tracks should be canceled. How can I do this best? The closing of the dialog is
already automatically done when pressing ESC, but how can I listen to the key
press and cancel the operation? Adding a key listener to the shell does not work.
Jens