• 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: NSWindowDepth Encoding
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSWindowDepth Encoding


  • Subject: Re: NSWindowDepth Encoding
  • From: Fritz Anderson <email@hidden>
  • Date: Wed, 18 Jun 2003 15:43:30 -0500

On Wednesday, June 18, 2003, at 10:24 AM, Henry McGilton wrote:

> Does anybody know how an NSWindowDepth parameter is encoded?
> I can find plenty of functions to obtain information from
> an NSWindowDepth, but nothing on how to construct one.
>

NSGraphics.h says:

> Window depths should not be made persistent as they will not be the
> same across systems.

Which says to me that there is no encoding (necessarily) going on;
NSWindowDepth is most likely an index into a table of supported pixmap
environments, with the tables varying among machines and across
releases of the operating system. Calling NSBestDepth() is the only way
to get an NSWindowDepth, given a set of functional requirements.

-- F


--
Fritz Anderson - Consulting Programmer - Chicago, IL
Mail: <email@hidden>
Risumi: <http://resume.manoverboard.org>
_______________________________________________
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.

References: 
 >NSWindowDepth Encoding (From: Henry McGilton <email@hidden>)

  • Prev by Date: Re: Newbie Q - responding appropriately to buttons
  • Next by Date: Re: troubling article
  • Previous by thread: NSWindowDepth Encoding
  • Next by thread: Re: Using drag-n-drop in an NSOpenPanel
  • Index(es):
    • Date
    • Thread