• 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
Programmatically generating windows and views
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Programmatically generating windows and views


  • Subject: Programmatically generating windows and views
  • From: HAEUPL Friedrich - RTAA <email@hidden>
  • Date: Tue, 27 Nov 2001 11:36:15 +0100

I want to create a program, that displays (raw bitmap) images. I have a menuitem called open,
that open the file and puts the contents into a NSData object. From the header of the NSData
object I get the size.width and size.height of the image.
The next step is to create a window (being proportional, size-limited) containing an NSView/NSImage
to the display the data.
How do I create this window programmatically?
Is anywhere an example showing how to do this?

Thanks, fritz


  • Prev by Date: Re: sound metering
  • Next by Date: [a bit OT] fixunsdfdi
  • Previous by thread: finder flags in MacosX
  • Next by thread: [a bit OT] fixunsdfdi
  • Index(es):
    • Date
    • Thread