making a sheet back into a window
making a sheet back into a window
- Subject: making a sheet back into a window
- From: Benjámin Salánki <email@hidden>
- Date: Fri, 25 Jul 2003 09:46:03 +0200
Hello,
I have a sheet, which at some point in my app I want to display as a
window. Now after I used the window as a sheet, and then I want to use
it as a window and I simply give it the [theWindow
makeKeyAndOrderFront:nil]; command, the window gets displayed, but
without a title bar and sheet-shaped exactly at the point where it
would appear as a sheet. This window is not movable and has no zoom,
close or minimize buttons.
I might be doing something wrong, but after issuing [NSApp
endSheet:theWindow];
[theWindow orderOut:nil]; I thought I could use the sheet as a window.
Is there anything I forgot?
Thanks,
Ben
stupidFish23
http://www.stupidfish23.com
_______________________________________________
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.