Re: Clicking dock icon... (Still no luck!)
Re: Clicking dock icon... (Still no luck!)
- Subject: Re: Clicking dock icon... (Still no luck!)
- From: Mario Diana <email@hidden>
- Date: Wed, 21 Nov 2001 22:16:05 -0500
Chuck,
Thanks for the best advice I've gotten.
Now, here's a real newbie question for you: to whom do I report a
bug? ;-)
Best regards and Happy Thanksgiving!
Mario
P.S.
I'm going to grit my teeth and try to write it in Objective-C.
On Wednesday, November 21, 2001, at 09:49 PM, Charles Bennett wrote:
I'm afraid I have to agree that you are not getting the message.
I created a trivial java app and am seeing the same results.
appDidFinishLanuching and applicationDidBecomeActive arrive just fine,
so I KNOW I'm the delegate but
applicationShouldHandleReopen() is never called when I click on the
apps icon.
I re-created the same app in ObjC and it works just fine.
I suggest that you head over to the bug reporter.
I can figure out a work around, I'll let you know.
chuck
Mario Diana wrote:
On Wednesday, November 21, 2001, at 06:56 PM, James Bredijk wrote:
You could catch the Apple Event ...
If eventClass = "aevt" And eventID = "rapp" Then ...
To keep with the metaphor, I don't think that ball is being thrown my
way.
I have two different methods: 1) applicationShouldHandleReopen(), and
2)
applicationDidBecomeActive(). I put a System.out.println() in each to
see if they were receiving a message from the NSApplication and to
verify that my class is, indeed, the delegate of NSApplication.
For the second method, I get confirmation in the Log -- it's getting a
message and doing what I want. But, the first method gives me nothing.
It seems like it's not getting any message at all.
That has me stumped. Anyone have any idea what's going on?
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev