Determining if the stack has the focus
Posted: Sun Jan 24, 2010 6:38 am
Is there a way of telling whether or not the the stack has the current application focus? Basically, I'd like to know if it's hidden (OS X), minimized (OS X/Win32) or not the current top-level application. I can use the mode of the stack to tell if it's minimized, but not any of the others.
Basically, I have my app interfacing with Growl just fine, but I only want to popup Growl notifications if the user is off doing something else and Growl would be letting the user know "hey, something's up and you may want to go check it out.."
Thanks!
Jeff M.
Basically, I have my app interfacing with Growl just fine, but I only want to popup Growl notifications if the user is off doing something else and Growl would be letting the user know "hey, something's up and you may want to go check it out.."
Thanks!
Jeff M.