[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.newcomer] Mac OS: Check if a window is in front
|
- From: qumana.elsym@xxxxxxxxx ( Simon)
- Date: Tue, 10 Feb 2009 17:42:41 +0000 (UTC)
- Newsgroups: eclipse.newcomer
- Organization: Eclipse
- User-agent: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
Hi,
On Mac OS, if we click on the icon of Safari on the dock bar, Safari will
check if there is any Safari windows are already created. If positive,
then it will check if one of them is maximized to front/in foreground. If
yes, Safari will only set focus to the window in front. Otherwise, it will
bring the minimized Safari window on the dock bar to front.
The issue I have is I cannot manage to check whether there is an window is
already in front.
I did try the methods below:
isActive(), isShowing(), isFocused(), hasFocus().
but doesn't work.
Any help would be appreciated.
Thanks a lot!