• 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: Location and Size of Main Menu --- Are They Defined Anywhere
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Location and Size of Main Menu --- Are They Defined Anywhere


  • Subject: Re: Location and Size of Main Menu --- Are They Defined Anywhere
  • From: Henry McGilton <email@hidden>
  • Date: Mon, 24 Mar 2003 21:43:06 -0800

On Friday, March 21, 2003, at 11:21 AM, Henry McGilton wrote:

To ensure correct cursor behaviour (Cursors Again!) I need to
exclude the area occupied by the application's main menu. Is
that window location and size defined anywhere that is
programmatically accessible?

I have ploughed through AppKit Types and Constants and so on,
and perused NSMenu for a while. I don't see anything that fits
what I am looking for.



And then my esteemed colleague Malcolm Crawford queried:

* Are you looking at it from the wrong perspective?

In old Saxon Ternimology, 'Arseways Foremost' . . .

* There's an NSScreen method, visibleFrame, which "returns the
* portion of the frame available for windows; the area occupied
* by the menu bar and dock are removed."

That is, indeed, precisely what I was looking for. Just that I was
looking in the wrong place. Now, Per Ardua ad Jaguar . . .

Best Wishes,
........ Henry


===============================+============================
Henry McGilton | Trilithon Software
Boulevardier, Java Composer | Seroia Research
-------------------------------+----------------------------
mailto:email@hidden | http://www.trilithon.com
===============================+============================
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Drag and Drop of Colour --- Documentation Appears to be Incorrect
      • From: Henry McGilton <email@hidden>
References: 
 >Location and Size of Main Menu --- Are They Defined Anywhere (From: Henry McGilton <email@hidden>)

  • Prev by Date: Re: String subtraction
  • Next by Date: Re: policy question
  • Previous by thread: Location and Size of Main Menu --- Are They Defined Anywhere
  • Next by thread: Drag and Drop of Colour --- Documentation Appears to be Incorrect
  • Index(es):
    • Date
    • Thread