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

Re: kCGStatusWindowLevel


  • Subject: Re: kCGStatusWindowLevel
  • From: Keary Suska <email@hidden>
  • Date: Tue, 20 May 2014 15:18:49 -0600

On May 20, 2014, at 9:55 AM, edward taffel wrote:

> apologies keary,
>
> on reread, my question is badly cast: i should have read it the same as you.
>
> the issue is:
>
> i have an overlay (created programmatically  w/ NSBorderlessWindowMask) at the top of my document view; after switching to full screen setFrame disregards my requested rect (without log emission) & adjusts to a max below the menu drop-down area. best coding practice suggests (to me) an arithmetical level adjustment like document-window-level plus one, but this does not attain. kCGOverlayWindowLevel does the trick, but kCGStatusWindowLevel is lower on the list & i wondered what class of window is intended at this level.

AFAIK, status window level is for windows belonging to NSStatusItems. I am not completely educated on full screen issues, but I imagine since changing the window layer changes its behavior, the full screen semantics are using the window layer as a hint to handle resizing. Just for grins, what happens when you send -toggleFullScreen: to your overlay?

> On May 20, 2014, at 10:59 AM, edward taffel <email@hidden> wrote:
>
>>
>> On May 20, 2014, at 10:41 AM, Keary Suska <email@hidden> wrote:
>>
>>> On May 20, 2014, at 8:17 AM, edward taffel wrote:
>>>
>>>> does anyone know where to find the definition of kCGStatusWindowLevel (NSStatusWindowLevel)?  or alternatively, can anyone define it?
>>>
>>> NSStatusWindowLevel is declared in NSWindow.h, kCGStatusWindowLevel is declared in CGWindowLevel.h. Is it the actual numeric value of the constant that you want?
>>
>> no, the definition of a status window; i.e. what is it used for?
>>
>>> I would code against it, as it can easily change at any time without notice.


Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden


  • Follow-Ups:
    • Re: kCGStatusWindowLevel
      • From: edward taffel <email@hidden>
References: 
 >kCGStatusWindowLevel (From: edward taffel <email@hidden>)
 >Re: kCGStatusWindowLevel (From: Keary Suska <email@hidden>)
 >Re: kCGStatusWindowLevel (From: edward taffel <email@hidden>)
 >Re: kCGStatusWindowLevel (From: edward taffel <email@hidden>)

  • Prev by Date: Re: kCGStatusWindowLevel
  • Next by Date: Re: get & set firewall status
  • Previous by thread: Re: kCGStatusWindowLevel
  • Next by thread: Re: kCGStatusWindowLevel
  • Index(es):
    • Date
    • Thread