• 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: Programmatically resized NSWindow not being redrawn?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Programmatically resized NSWindow not being redrawn?


  • Subject: Re: Programmatically resized NSWindow not being redrawn?
  • From: Daniel Vollmer <email@hidden>
  • Date: Sun, 5 Feb 2006 16:21:14 +0100

Sorry for talking to myself, the problem was that the following function


The following code is responsible for resizing the NSCustomView:
- (void)setImageSize:(NSSize)size

[snip]

was called from a non-main-thread thread and changed the window size (i.e. setFrame). This lead to the effect shown in the picture as well as part of the title-bar not reacting to mouse-clicks (as sometimes the display subsystem is showing the window at the new size, but the UI logic is still referring to the original, smaller window).

	Daniel.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: RV: first steps
  • Next by Date: Re: When is a program that is running not really running?
  • Previous by thread: Re: RV: first steps
  • Next by thread: NSButton subclass doesn't get performClick:
  • Index(es):
    • Date
    • Thread