• 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: Dock Height ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dock Height ?


  • Subject: Re: Dock Height ?
  • From: email@hidden
  • Date: Thu, 6 Oct 2005 17:56:33 +0200

Dear List

Thanks for the help, the visibleFrame is great, since I just needed
to find out where to position a window.

Vincent

>
>
>
>---- Original Message ----
>From: email@hidden
>To: email@hidden
>Subject: Re: Dock Height ?
>Date: Thu, 6 Oct 2005 16:52:19 +0100
>
>>	NSScreen *screen = [NSScreen mainScreen];
>>	NSRect screenFrame = [screen frame];
>>	NSRect screenVisibleFrame = [screen visibleFrame];
>>The visible frame takes into account the menubar and the dock.  You
>>should be able to compute the dock height from that, assuming the
>dock
>>is at the bottom of the screen...Don't know if you can find out the
>>position of the dock and its mode (e.g. hidden or not)
>>--Simon
>>
>>On 10/6/05, email@hidden <email@hidden>
>wrote:
>>> Dear List,
>>>
>>> I have Googled and searched the docs without success (before
>anyone
>>> flames me). Does someone know how to programmatically ascertain
>the
>>> Dock height ?
>>>
>>> Thanks in advance
>>>
>>> Vincent
>>>
>>>
>>>  _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Cocoa-dev mailing list      (email@hidden)
>>> Help/Unsubscribe/Update your Subscription:
>>>
>.com
>>>
>>> This email sent to email@hidden
>>>


 _______________________________________________
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

  • Prev by Date: Re: No Reference to Table Column
  • Next by Date: Re: only defined for abstract class
  • Previous by thread: Re: Dock Height ?
  • Next by thread: Recommendation for an open-source cache library
  • Index(es):
    • Date
    • Thread