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 _______________________________________________ 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