FROM : Julius Eckert
DATE : Sun Feb 24 15:11:56 2008
Hi,
my application pops up and becomes keywindow when a hotkey is pressed.
when the hotkey is pressed i do:
[NSApp activateIgnoringOtherApps:true];
and
[[self window] makeKeyAndOrderFront:self];
this works fine but the behaviour is that the current applications window
looses its focus. i want the behaviour to be like spotlight. when you open
it the current application you are using does not loose its focus.
hope someone can help me with this topic.
thanks in advance.
DATE : Sun Feb 24 15:11:56 2008
Hi,
my application pops up and becomes keywindow when a hotkey is pressed.
when the hotkey is pressed i do:
[NSApp activateIgnoringOtherApps:true];
and
[[self window] makeKeyAndOrderFront:self];
this works fine but the behaviour is that the current applications window
looses its focus. i want the behaviour to be like spotlight. when you open
it the current application you are using does not loose its focus.
hope someone can help me with this topic.
thanks in advance.
| Related mails | Author | Date |
|---|---|---|
| No related mails found. | ||






Cocoa mail archive

