Mac OS: Check if a window is in front [message #268447] |
Tue, 10 February 2009 12:42 |
Eclipse User |
|
|
|
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!
|
|
|
Powered by
FUDForum. Page generated in 0.19851 seconds