Programmatically generating windows and views
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