This sounds like a pretty challenging task, especially given the fact that the Dock itself is so tightly coupled with many other OS X technologies (Spaces, Exposé, etc). Probably the closest utility to achieving this goal and still maintaining compatibility with these OS X niceties is Docks, formerly distributed by Thoughtful Tree Software and soon by Big Nerd Ranch. (There are other similar utilities, but I recommend Docks, on the basis that I wrote it and am thus biased.) But by all means if you want to try and write a new solution, go for it. Just remember how tightly integrated into OS X the Dock is, because a lot of people count on that fact.
-Steven On Sun, Feb 14, 2010 at 9:39 PM, Sandro Noël <sandro.n...@gestosoft.com>wrote: > Well the application I'm trying to do is a something I like to call a > Dock-Stack. > No it's not like those folders stacks. > > It's docks that would autohide and appear right under the dock window, but > pop up just above the current dock. > kind of an extension to the dock. (in the case my application is configured > to be on the same screen edge as the OS Dock) > > I love the Dock but I find it limited. > I've always wanted to have the option to have multiple docks live. > without having to change the configuration like other applications offer, > I want to have another dock either as a stack or as an independent one on > other screen edges. > and i have not found an application that does it like i want it to be. > > So i'll do it :) > > Voila. the secret is out. > > > Sandro Noël > > > On 2010-02-14, at 8:48 PM, Matthew Lindfield Seager wrote: > > On 15 February 2010 11:03, Sandro Noël <sandro.n...@gestosoft.com> wrote: > >> the reason why i want to know the position of the dock is because i want >> to latch on to it, over it. >> > > I might be wrong and you may have a great reason for wanting to do this but > it doesn't seem very "Mac-like"... There's possibly (probably?) a better way > to design your interface that doesn't require "latching on" to the Dock. > > Remember: > - the dock may be on the left, right or bottom of screen (or even the top > of screen for those who like messing about with unsupported preference > settings) > - the dock may be set to auto-hide > - the dock may be set to grow when the mouse moves over it (will your > window resize every time these users mouse over the dock)? > - the dock will grow and shrink as apps are added/removed/launched/quit > - the dock will grow and shrink as windows are minimised and restored > - users can (and will) resize the dock on a whim > - users can (and will) change their dock hiding settings regularly > (particularly those on lower res screens such as laptops or older machines) > > Of course if you're just trying to do this for an app for yourself go nuts! > > Matt > > > -- Steven Degutis http://www.thoughtfultree.com/ http://www.degutis.org/ _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com