• 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: NSComboBox - Not Drawing the List
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSComboBox - Not Drawing the List


  • Subject: Re: NSComboBox - Not Drawing the List
  • From: Joe Lester <email@hidden>
  • Date: Wed, 17 Sep 2003 19:02:59 -0500

I just noticed that NSPopUpButtons do not draw their lists either on my
window. So it seems like it might have something to do with my
programatically created window??? This would make some sense since I've
used NSComboBoxes before on other projects with no problems.

I set up my full-screen window using the guidelines given on CocoaDev
with canBecomeKeyWindow overridden to return YES.
http://cocoadevcentral.com/articles/000028.php#000028

Any ideas?


> From: Joe Lester <email@hidden>
>
> My regular NSComboBox makes use of a datasource. It works fine EXCEPT,
> if you click the arrow to show the list, the list does not draw to the
> screen. What's especially odd is that you can still use your up and
> down arrow keys to select the item you're looking for. After pressing
> the return key, the last item that was "invisibly selected" from
> pressing the arrow keys a few times becomes the current text of the
> combo box. It's seeing the datasource fine, it's just not drawing the
> list to the screen when you press the arrow key.
>
> The NSComboBox is located inside a subview on a full-screen window.
> Not sure if that has anything to do with it. I've checked and
> double-checked my datasource methods. Everything seems to be in order.
> Anyone out there ever run into this?
_______________________________________________
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.

  • Prev by Date: Re: NSComboBox - Not Drawing the List
  • Next by Date: NSSound truncates the beginnings of sounds
  • Previous by thread: Re: NSComboBox - Not Drawing the List
  • Next by thread: Installing Plugins on Build
  • Index(es):
    • Date
    • Thread