• 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: How to make NSComboBox work in fullscreen mode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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: Fri, 19 Oct 2007 20:46:42 -0600

I got it work without capturing displays. I changed it to use
NSMainMenuWindowLevel + 1 and  exclude the fullscreen window from expose.

Thanks,

John

On 10/18/07, john chen <email@hidden> wrote:
>
> 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

References: 
 >How to make NSComboBox work in fullscreen mode (From: "john chen" <email@hidden>)
 >Re: How to make NSComboBox work in fullscreen mode (From: Ricky Sharp <email@hidden>)
 >Re: How to make NSComboBox work in fullscreen mode (From: "john chen" <email@hidden>)

  • Prev by Date: Re: Mulit-state buttons
  • Next by Date: Re: predicate with NSDates
  • Previous by thread: Re: How to make NSComboBox work in fullscreen mode
  • Next by thread: after resizing an image...
  • Index(es):
    • Date
    • Thread