• 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
NSDrawer Constants documented incorrectly
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSDrawer Constants documented incorrectly


  • Subject: NSDrawer Constants documented incorrectly
  • From: Jake <email@hidden>
  • Date: Sat, 1 Dec 2001 02:23:22 -0500 (EST)

I would like a drawer to always open from the top. So I tried:

[myDrawer openOnEdge:NSMinYEdge];

however, it did just the opposite according to the documented constants:
I needed NSMaxYEdge to accomplish the "always on top" behavior. Here is
the exert from the documentation:

The following constants are defined in Foundation/NSGeometry.h and can be
used to specify window edges:
Constant Description
NSMinXEdge The left edge of a window.
NSMinYEdge The top edge of a window.
NSMaxXEdge The right edge of a window.
NSMaxYEdge The bottom edge of a window.


is this a known issue?

jake


  • Follow-Ups:
    • Re: NSDrawer Constants documented incorrectly
      • From: Donald Brown <email@hidden>
  • Next by Date: Re: NSDrawer Constants documented incorrectly
  • Next by thread: Re: NSDrawer Constants documented incorrectly
  • Index(es):
    • Date
    • Thread