| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On Feb 10, 2006, at 1:50 PM, Camillo Lugaresi wrote:
Also, is that the right way to do what I was trying to? I couldn't think of anything more elegant but I'd love to hear if there is a better approach.
NSRect oldFrame = [button frame]; [button setFrame:NSMakeRect(0,0,35,35)]; [[button superview] setNeedsDisplayInRect:oldFrame]; [button setNeedsDisplay];
incidentally, this is in the doc
| References: | |
| >Problem moving subview within superview (From: Ivan Kourtev <email@hidden>) | |
| >Re: Problem moving subview within superview (From: Camillo Lugaresi <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.