Hello,

I create a window like this:

id window = [[[NSWindow alloc] initWithContentRect:NSMakeRect(0, 0, 200,
200) styleMask:NSTitledWindowMask backing:NSBackingStoreBuffered
defer:NO] autorelease];
[window cascadeTopLeftFromPoint:NSMakePoint(20,20)];

but it cascades just vertically - the next window is positioned to the very
top left of my screen, the next one is just 20px lower (and 0px right), the
next one is again 20px lower than the previous one but it wont move
horizontally.

Why's that? Do I have to remember the returned NSPoint and pass it to
next cascadeTopLeftFromPoint:?

Kind regards,

Ecir Hana
_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

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

Reply via email to