• 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
sheet appears as normal window?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

sheet appears as normal window?


  • Subject: sheet appears as normal window?
  • From: "Kevin Dixon" <email@hidden>
  • Date: Thu, 20 Mar 2008 23:19:44 -0400 (EDT)
  • Importance: Normal

I couldn't find any documentation on how to create a custom sheet's view,
so I did it as a Panel.

I have the panel as an outlet of my primary window controller.

I then call beginSheet, as shown here

		[NSApp beginSheet: uiAnalysisResultsSheet
				modalForWindow:[self window]
				modalDelegate:self
				didEndSelector:
@selector(analysisResultsSheetDidEnd:returnCode:contextInfo:)
				contextInfo: nil];

but the window appears as a Window, not as a sheet attached to my main
window. What is going on here? Thanks,

-Kevin
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: sheet appears as normal window?
      • From: Dave Hersey <email@hidden>
    • Re: sheet appears as normal window?
      • From: Andrew Merenbach <email@hidden>
  • Prev by Date: Re: Using C++ classes from Objective C
  • Next by Date: Re: sheet appears as normal window?
  • Previous by thread: Re: Creating custom sheets
  • Next by thread: Re: sheet appears as normal window?
  • Index(es):
    • Date
    • Thread