On Jun 18, 2008, at 11:50 PM, kalpana k wrote:

window setFrame: NSMakeRect(0,0,1024,1200)


Should this not be something more like:

        NSMakeRect(0.0, -768.0, 1024.0, 1200.0)

Also note that, according to the documentation:

"Note that any NSWindow with a title bar automatically constrains itself to the screen."

<http://developer.apple.com/documentation/Cocoa/Conceptual/WinPanel/Tasks/SizingPlacingWindows.html#//apple_ref/doc/uid/20000228-135785 >

j o a r


_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [EMAIL PROTECTED]

Reply via email to