Re: rapp events
Re: rapp events
- Subject: Re: rapp events
- From: Rosyna <email@hidden>
- Date: Sun, 8 Jul 2001 05:36:37 -0700
Tried adding this, it worked. Exactly once. I cannot get the event to
occur again.
- (BOOL)applicationShouldHandleReopen:(NSApplication *)sender
hasVisibleWindows:(BOOL)flag
{
NSBeep();
NSLog(@"Hi");
return YES;
}
And in awakeFromNib in the same class
[NSApp setDelegate:self];
It never beeps or writes anything to the log. Was i missing something?
Ack, at 7/8/01, Andreas Monitzer said:
NSApplication already handles this event. You can use it by
implementing applicationShouldHandleReopen:hasVisibleWindows: in the
NSApplication's delegate.
--
Sincerely,
Rosyna Keller
Technical Support/Holy Knight/Always needs a hug
Unsanity: Unsane Tools for Insane People