Re: How to make NSComboBox work in fullscreen mode
Re: How to make NSComboBox work in fullscreen mode
- Subject: Re: How to make NSComboBox work in fullscreen mode
- From: "john chen" <email@hidden>
- Date: Thu, 18 Oct 2007 14:16:38 -0500
Thanks Ricky for pointing this out. So there is a bug in the sample code:
http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaDrawingGuide/AdvancedDrawing/chapter_9_section_4.html
?
Seems this is a problem discussed a lot in this list, but I have not
figured out a good solution for AppKit in fullscreen.
Thanks,
John
On 10/17/07, Ricky Sharp <email@hidden> wrote:
>
> On Oct 17, 2007, at 9:15 PM, john chen wrote:
>
> > Does anyone know how to make NSComboBox work in fullscreen mode ?
> > In my
> > application, when start fullscreen mode, I set the window level to
> > CGShieldingWindowLevel(). When click on a comboBox on the window,
> > I can't
> > see anything. And I got this message:PSsetwindowlevel, error
> > setting window
> > level (1001). The datasoure list of the comboBox seems hidden by
> > the window.
> > I guess the problem is, the datasource list of comboBox is at
> > NSPopUpMenuWindowLevel<http://developer.apple.com/documentation/
> > Cocoa/Reference/ApplicationKit/Classes/NSWindow_Class/Reference/
> > Reference.html#//apple_ref/doc/c_ref/NSPopUpMenuWindowLevel>,
> > so it's hidden by the CGShieldingWindowLevel(). My question is, how
> > to
> > make it work ?
>
> You cannot mix AppKit with captured displays (search archives for why).
>
> ___________________________________________________________
> Ricky A. Sharp mailto:email@hidden
> Instant Interactive(tm) http://www.instantinteractive.com
>
>
_______________________________________________
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