Re: How to make my own 'dock' like menu from App Icon?
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