UIElement activation
UIElement activation
- Subject: UIElement activation
- From: Thierry Passeron <email@hidden>
- Date: Thu, 19 Jan 2006 00:39:01 +0100
Hello everybody,
Thanks to some good advices from Joar, my application is improving.
Now I'm facing a new problem. My app is an UIElement app that stays in
background until it's activated by an hotkey combo. When I run it
first, the application is activated, the window is key and ordered
front, I can type something on the keyboard, the app gets it.
But, after a while the app goes to sleep and should'nt be the active
app anymore. Now the problem is that if I type the hotkey again, the
window appears but no keyboard handling, the focus is still on an
other app even with my window orderedFront.
Do I have to post a special notification to
NSDistributedNotificationCenter defaultCenter in my hotkey handling
method to get the app active again ?
And one notification to resign active when the app goes to sleep ?
Best regards,
Thierry Passeron
France
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden