• 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 the bounds
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setting the bounds


  • Subject: Re: setting the bounds
  • From: "John C. Randolph" <email@hidden>
  • Date: Sun, 8 Jun 2003 20:08:09 -0700

On Sunday, June 8, 2003, at 07:17 PM, email@hidden wrote:

I overrode lockFocus: but the problem still occurred.

It was only after I overrode unlockFocus: that the problem was fixed.

This is still not good, because the change needs to be current.

On Sunday, Jun 8, 2003, at 20:21 America/New_York, email@hidden wrote:

It appears that setting the bounds in NSView's drawRect: can cause problems. How can I set the bounds each time before that method is called? I have tried overriding methods, but there seems to be private API in the works. Thanks.

Ling,

You're really not giving us enough information to be able to help you.

What are you trying to do, and why do you want to change the bounds every time you draw the view?

-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.

  • Follow-Ups:
    • Re: setting the bounds
      • From: email@hidden
References: 
 >Re: setting the bounds (From: email@hidden)

  • Prev by Date: Using Grab Services
  • Next by Date: Re: setting the bounds
  • Previous by thread: Re: setting the bounds
  • Next by thread: Re: setting the bounds
  • Index(es):
    • Date
    • Thread