Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [platform-swt-dev] shell events

use Display.getActiveShell();

Yu

-----Original Message-----
From: platform-swt-dev-bounces@xxxxxxxxxxx [mailto:platform-swt-dev-bounces@xxxxxxxxxxx]On Behalf Of ext Thomas Braun
Sent: Saturday, May 07, 2005 11:36 AM
To: Eclipse Platform SWT component developers list.
Subject: [platform-swt-dev] shell events


Hello,

I have noticed that if a get ShellDeactivated event from a ShellListener 
and I ask the display for the active shell while the event is processed, I 
get the shell which has been deactivated and not the shell which is now the 
active one.
Is that a correct behaviour? What have I to do, if I want to know which 
shell is now active?

Thanks,
Tom


Back to the top