How to make my own 'dock' like menu from App Icon?
How to make my own 'dock' like menu from App Icon?
- Subject: How to make my own 'dock' like menu from App Icon?
- From: Robert Tillyard <email@hidden>
- Date: Thu, 14 Jul 2005 12:14:47 +0100
I need a "Windows Start Bar" like program for Windows users using Macs.
I'm using Cocoa/Objective-C.
I want to make an application that is just a dock icon that displays
a dynamic menu when the application icon is clicked. I'm currently
doing this with the Dock Menu but it's confusing users that they have
to click for 1 second also hings like "Run at Login" and "Remove from
the Dock" are in that menu and can't be removed.
I have already done this with a dynamic dock menu, the app reads a
text file to create the menu structure but it's in the 'official'
Dock Menu.
Can I make a menu appear above my Dock Icon on a click in the icon?
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.
Regards, Rob.
_______________________________________________
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