• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Clicking dock icon... (Still no luck!)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: Clicking dock icon... (Still no luck!) (From: Charles Bennett <email@hidden>)

  • Prev by Date: Re: Clicking dock icon... (Still no luck!)
  • Next by Date: Re: multithreading textviews
  • Previous by thread: Re: Clicking dock icon... (Still no luck!)
  • Next by thread: local ip address?
  • Index(es):
    • Date
    • Thread