• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
making a sheet back into a window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: making a sheet back into a window
      • From: Karl Kraft <email@hidden>
  • Prev by Date: Monospace fonts and NSFontPanel?
  • Next by Date: NSPopupMenuButton represented object equivalence
  • Previous by thread: Re: Monospace fonts and NSFontPanel?
  • Next by thread: Re: making a sheet back into a window
  • Index(es):
    • Date
    • Thread