• 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
Modal Window Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Modal Window Question


  • Subject: Modal Window Question
  • From: email@hidden
  • Date: Sun, 16 Jan 2005 20:51:43 +0100

I'm using the function below to make a Window Modal, but it increases too much the processor.
How can I create a Window Modal easily?




NSModalSession session = [NSApp beginModalSessionForWindow:addComicWindow];
for (;;) {
if ([NSApp runModalSession:session] != NSRunContinuesResponse)
break;
}
[NSApp endModalSession:session];

Thanks,
Roberto

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Modal Window Question
      • From: Stéphane Sudre <email@hidden>
  • Prev by Date: Re: NSFileManager, 10.3.x and /tmp: bug?
  • Next by Date: Re: Changing Bundle Name
  • Previous by thread: Re: Building with Subclasses
  • Next by thread: Re: Modal Window Question
  • Index(es):
    • Date
    • Thread