• 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: How to make my own 'dock' like menu from App Icon?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to make my own 'dock' like menu from App Icon?


  • Subject: Re: How to make my own 'dock' like menu from App Icon?
  • From: Eric Schlegel <email@hidden>
  • Date: Thu, 14 Jul 2005 07:16:58 -0700


On 14.07.2005 15:14, "Robert Tillyard" <email@hidden> wrote:


I need a "Windows Start Bar" like program for Windows users using Macs.

I'm a bit stuck on:

1) how to detect a click on my App's Dock Icon.
2) how to workout where the Dock Icon is on the screen

Virtual PC has a start icon that does this so it must be doable.

Unfortunately there's no supported or built-in way to do this. I think Virtual PC uses lots of nasty hacks to manage it.


Now that the Accessibility API is available, you might be able to get something working by using the Accessibility API to determine where your app's dock tile is located on the screen. Then you could position a transparent window over that location to catch clicks on the tile, and display your menu instead. I haven't tried this, so YMMV.

-eric


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: How to make my own 'dock' like menu from App Icon?
      • From: Damien Bobillot <email@hidden>
References: 
 >Re: How to make my own 'dock' like menu from App Icon? (From: Rustam Muginov <email@hidden>)

  • Prev by Date: Re: Drawing an NSImage into a GWorld
  • Next by Date: Re: how to evaluate an NSString content as a real obj-c instruction/expression
  • Previous by thread: Re: How to make my own 'dock' like menu from App Icon?
  • Next by thread: Re: How to make my own 'dock' like menu from App Icon?
  • Index(es):
    • Date
    • Thread