• 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: window resizing events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: window resizing events


  • Subject: Re: window resizing events
  • From: "M. Uli Kusterer" <email@hidden>
  • Date: Sat, 1 May 2004 10:09:03 +0200

At 10:20 Uhr -0700 30.04.2004, David Piasecki wrote:
I figured out how to resize an image (code below), but I'm still fuzzy
on how to perform events after the window has been completely resized
(mouse let go or end of maximize event).

[image setImageScaling:NSScaleToFit];

Read the NSView header, or NSWindow header. In one of them you'll find a method named something like "isResizing" or "isLiveResize" or whatever, which you can check to do "reduced drawing". The NSView docs very likely cover that as well.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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: Icons in popups with controller layer
  • Next by Date: Re: setHidden: on MacOS 10.2
  • Previous by thread: Re: Icons in popups with controller layer
  • Next by thread: Re: window resizing events
  • Index(es):
    • Date
    • Thread