Total newbie question here...

I have a window with a custom view filling the entire window. I'm
trying to programatically determine the size of my view, but the
numbers I'm getting back don't make sense to me. As a test, I've set
my window and view to both be 1024 x 768. But in my view, if I output
the size (.width and .height) from [self frame] or [self bounds], I
get 0 x 12400. I wrote a screen saver before, and [self bounds]
returns the screen size, so I'm a little puzzled by this behaviour.
Any help would be greatly appreciated.

Thanks,

Patrick
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to