Re: Location and Size of Main Menu --- Are They Defined Anywhere
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.