• 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: Charles Bennett <email@hidden>
  • Date: Wed, 21 Nov 2001 21:49:09 -0500

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


  • Follow-Ups:
    • Re: Clicking dock icon... (Still no luck!)
      • From: Mario Diana <email@hidden>
References: 
 >Re: Clicking dock icon... (Still no luck!) (From: Mario Diana <email@hidden>)

  • Prev by Date: Fwd: Toolbar Icons area 32x32
  • Next by Date: Re: Clicking dock icon... (Still no luck!)
  • Previous by thread: Re: Clicking dock icon... (Still no luck!)
  • Next by thread: Re: Clicking dock icon... (Still no luck!)
  • Index(es):
    • Date
    • Thread