Just a note for the archives.
On v.3 sön 23 jan 2011, at 12:20:41, Mohsan Khan wrote:
> I'm using a NSTrackingArea for tracking mouse-in & mouse-out on the menu bar
> area, this works just as expected.
>
> But I've discovered that if I switch to the guest account
I'm using a NSTrackingArea for tracking mouse-in & mouse-out on the menu bar
area, this works just as expected.
But I've discovered that if I switch to the guest account and run my
application the tracking for mouse-in & mouse-out doesn't work, but only if I
click in that area, then will the mo
Good post!
I hate reading badly formatted code...specielly code that follows standards
from the 90's. Which evern language it is.
On v.47 tis 23 nov 2010, at 18:52:58, Jerry Krinock wrote:
> General recommendation: If you want people to read your code, please spend
> some time to make it nea
On 2009-08-23, at 20:37, Agha Khan wrote:
I also tried NSBundle* bundle = [[NSBundle mainBundle] retain];
Why are you trying to retain?
The documentation says "+ (NSBundle *)mainBundle" - its static and you
didn't create (alloc, new) the *bundle instance, therefor you don't
own it, and th
Google is your best friend, atleast mine.
Your already said it "image transformation", search for "Cocoa image
transformation".
I find all the informtation I need to get started by searching
"Cocoa ...".
/Mohsan Khan
On 2009-08-13, at 03:22, Agha Khan wro
I think because its not actually the "ScreenSaverEngine" that runs,
because its the ScreenSaverEngine app that sends these notifications.
So instead of hitting the test button try setting a hot corner and use
that...
/MK
On 2009-07-23, at 12:57, Santosh Sinha wrote:
Hello List,
I have
EventAppSystemUIModeChanged } };
InstallApplicationEventHandler( NewEventHandlerUPP( AppEventHandler ),
GetEventTypeCount(
sAppEvents ),
sAppEvent
Hi
I'm trying to to install kEventAppSystemUIModeChanged using
NSAppleEventManager, so that my app will know when the menubar & dock
is hidden i.e. some other app enters fullscreen mode.
I've tried entering fullscreen mode using VLC and Photoshop.
handleAppleEvent is never called because t
I uninstalled LCC, restarted and ran my code - and it just works!
Wow, that sure was the fix!
I won't be using LCC anymore.
Thank you Chris and everybody.
/MK
On må 28 apr 2008, at 22.44, Christopher Nebel wrote:
Bingo. Get rid of LCC Scroll Enhancer. It's a known cause of a
variety o
Sorry for my short messages, I was trying to keep it simple & clean.
Garbage collection is off.
GCC_ENABLE_OBJC_GC = unsupported
Here is my code:
"User clicks a button..."
- (IBAction)testAppleScript: (id)sender
{
[self callAppleScript];
}
- (void)callAppleScript
{
NSDiction
I tried to run the code in my main method which worked well, but not
in my AppController.m - does it matter?
Thanks.
On sö 27 apr 2008, at 22.57, Mohsan Khan wrote:
The debugger kicks in and stops at "#0 0x7fff80e73d50 in
_objc_fixupMessageRef" in a long call stack.
Do I need
The debugger kicks in and stops at "#0 0x7fff80e73d50 in
_objc_fixupMessageRef" in a long call stack.
Do I need do include something in my project, settings etc ?
On sö 27 apr 2008, at 20.59, Jean-Daniel Dupas wrote:
Le 27 avr. 08 à 20:27, Mohsan Khan a écrit :
Hi,
I
Hi,
I'm trying to call an AppleScript from my Cocoa application, I've
copied the code from http://developer.apple.com/technotes/tn2006/tn2084.html
but my application will crash once called.
I did change the script to:
NSAppleScript* scriptObject = [[NSAppleScript alloc] initWithSource:
@"
Sorry, I was a little bit to quick there...
I get an error
169: DBOut( @"Hello World!" );
/AppController.m:169: error: syntax error before ']' token
Did I miss something?
On to 24 apr 2008, at 23.24, Mohsan Khan wrote:
Ohh this is so good, I'm happy!!!
Thanks!
Ohh this is so good, I'm happy!!!
Thanks!
On to 24 apr 2008, at 21.53, Don Arnel wrote:
I thought I'd share this with those of you who want an alternative
to NSLog(). If you want your debugging output to always go to the
debugger console without all the date and time stamping info, just
Thanks, this does the trick!
- (void)setFrame: (NSRect)frameRect
display: (BOOL)flag
{
#pragma unused( frameRect, flag )
[super setFrame: myRect
display: YES];
}
On må 14 apr 2008, at 05.00, Seth Willits wrote:
On Apr 13, 2008, at 10:56 AM, Mohsan
Hi
I have a window (NSBorderlessWindowMask), this window gets pushed away
when my Dock appears from being hidden.
How can I bypass this behaviour for my window?
Should I use applicationDidChangeScreenParameters and reposition the
window, or is there an option to make my window not care abo
17 matches
Mail list logo