• 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: Setting NSImageView back to default
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting NSImageView back to default


  • Subject: Re: Setting NSImageView back to default
  • From: John Randolph <email@hidden>
  • Date: Mon, 24 May 2004 14:30:20 -0700

On May 23, 2004, at 6:46 PM, Kodex wrote:

Hey guys i was wondering how to set the NSImageView
back to the blank settings when you launch the app. I
want to remove a jpg from view and return it to the
orginal state so its not blocking the background of
the window. Thanks in advance


NNSImageView *myImageView;

[myImageView setImage:nil];
[myImageView setNeedsDisplay:YES];

-jcr

John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
http://developer.apple.com/cocoa/index.html
_______________________________________________
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: 
 >Setting NSImageView back to default (From: Kodex <email@hidden>)

  • Prev by Date: Re: MVC paradigm question
  • Next by Date: Re: MVC paradigm question
  • Previous by thread: Setting NSImageView back to default
  • Next by thread: dictionaryWithContentsOfFile
  • Index(es):
    • Date
    • Thread