Re: setting the bounds
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.