Re: kCGStatusWindowLevel
Re: kCGStatusWindowLevel
- Subject: Re: kCGStatusWindowLevel
- From: Lee Ann Rucker <email@hidden>
- Date: Tue, 20 May 2014 11:51:57 -0700
This sounds like something we hit in 10.9 fullscreen on secondary monitors; we had to do this to get it to setFrame where we told it:
in NSWindow subclass:
- (NSRect)constrainFrameRect: (NSRect)frameRect
toScreen: (NSScreen *)screen
{
return frameRect;
}
On May 20, 2014, at 8: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.
>
> thanks for your response!
> edward
>
>
> 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.
>>
>>> HTH,
>>>
>>> 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
>
> _______________________________________________
>
> 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
_______________________________________________
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