• 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
Drawing hidden NSWindow to NSImage then to a NSView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Drawing hidden NSWindow to NSImage then to a NSView


  • Subject: Drawing hidden NSWindow to NSImage then to a NSView
  • From: Dean Davis <email@hidden>
  • Date: Mon, 12 Aug 2002 11:01:08 -0700 (PDT)

I need some general newbie direction...

I want to create a screen saver that displays a
"representation" of a normal window.

As a "proof of concept" project, I have created a
ScreenSaver project and a NIB file with one window.
The window only contains static text.

In the initWithFrame method I have a
NSWindowController class. Using that class I'm trying
to initWithWindowNibName my NIB file but console is
reporting that it can't open the NIB file. Any
suggestions on this?

Also is my direction correct? If I can get my saver to
load the NIB will I be able to fill in the hidden
window's static text fields with custom text, "print"
the window to a NSData (as PDF), transfer this to an
NSImage and draw the NSImage to the screen saver?

Thanks for any help anyone can give.

Dean
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com
_______________________________________________
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: Text Storage
  • Next by Date: Re: Strings from UUID
  • Previous by thread: Re: NSBorderlessWindowMask'ed windows and the Window Menu
  • Next by thread: Re: Drawing hidden NSWindow to NSImage then to a NSView
  • Index(es):
    • Date
    • Thread