nsevent Questions
4
Solved
The iTunes mini-player (to give just one example) supports click-through where the application isn't brought to the front when the play/pause and volume controls are used.
How is this done?
I've ...
Oliveolivegreen asked 30/9, 2009 at 14:48
1
Solved
I need to send the key combo ^⌘C to a background app with the bundle identifier com.company.app. The key combo should then activate a menu item in that application.
Unfortunately, I have no clue h...
Wail asked 15/9, 2011 at 14:9
3
Solved
I've been searching the Apple docs and the only function I could find pertaining to a double click just returned the acceptable time between clicks for it to be considered a double click.
Can some...
Plenty asked 19/8, 2011 at 23:0
1
Solved
I was doing a little research into this, and I found
this
question. I implemented the code used there, but nothing happened. Here is the exact code I am using:
.h file
#import <Cocoa/Cocoa.h&...
Azikiwe asked 16/5, 2011 at 16:50
2
Solved
Hi
I am working on an iphone application and want to handle keyboard events in iphone. In Mac, there is a class NSEvent which handles both keyboard and mouse events, and in ios (iphone/ipad) the co...
Blaise asked 7/3, 2011 at 5:40
1
I'm interested in capturing key presses while a NSMenu is open. For example, if the menu is open and the user presses "e", or "1" on the keyboard, send a particular message (preferably passing an e...
Dramatization asked 22/9, 2010 at 22:11
1
Solved
I have a NSStatusItem and I want to popup a menu by rightclicking the item. I subclassed a NSView and overwrote the - (void)rightMouseDown:(NSEvent *)event method. I also implemented - (void)mouseD...
Mousy asked 30/1, 2010 at 21:14
2
Solved
UPDATED: I'm now overriding the NSView keyUp method from a NSView subclass set to first responder like below, but am still not seeing evidence that it is being called.
@implementation svsView
- (...
Cromagnon asked 6/12, 2009 at 2:3
© 2022 - 2024 — McMap. All rights reserved.