FROM : [nexUmoja] Fabian Jäger
DATE : Mon Nov 19 23:14:09 2007
Hey guys,
is there a way to get the position of an NSStatusItem in the system's
menubar? At the moment I use the following hack:
@implementation NSStatusItem (Hack)
- (NSRect)hackFrame
{
return [_fWindow frame];
}
@end
But unfortunately I only get (-34.0, 0.0) as the position, which does
not seem like screen-space coordinates :(
Fabian
nexUmoja.org
DATE : Mon Nov 19 23:14:09 2007
Hey guys,
is there a way to get the position of an NSStatusItem in the system's
menubar? At the moment I use the following hack:
@implementation NSStatusItem (Hack)
- (NSRect)hackFrame
{
return [_fWindow frame];
}
@end
But unfortunately I only get (-34.0, 0.0) as the position, which does
not seem like screen-space coordinates :(
Fabian
nexUmoja.org
| Related mails | Author | Date |
|---|---|---|
| [nexUmoja] Fabian… | Nov 19, 23:14 | |
| Joachim Deelen | Nov 20, 22:11 | |
| Joachim Deelen | Nov 20, 22:57 | |
| [nexUmoja] Fabian… | Nov 20, 23:03 | |
| Joachim Deelen | Nov 20, 23:34 | |
| [nexUmoja] Fabian… | Nov 20, 23:59 | |
| Peter Maurer | Nov 22, 09:09 | |
| [nexUmoja] Fabian… | Nov 22, 11:37 | |
| Joachim Deelen | Nov 23, 23:26 | |
| [nexUmoja] Fabian… | Nov 24, 03:18 |






Cocoa mail archive

