• 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
Re: displaying a sheet without having the icon bouncing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: displaying a sheet without having the icon bouncing


  • Subject: Re: displaying a sheet without having the icon bouncing
  • From: Ryan Stevens <email@hidden>
  • Date: Fri, 7 Mar 2003 07:46:23 -0800

This is actually pretty easy to do...

Subclass NSApplication and override requestUserAttention:.

Another problem you might run into is if the user tries to quit the application while your sheet is displayed. If that is allowed you'll want to override terminate: as well so that you can close the sheet and then call super.

HTH!

On Thursday, March 6, 2003, at 09:13 AM, olivier wrote:

I display a sheet that basically state that my application is waiting
on another application. when everything is setup, i dismiss the sheet
automatically. Everything works fine except that when i display the
sheet, my icon bounces requesting user attention. Which is not really
what i want. I display the sheet so that if the user is here he knows
that i'm working hard for him, but if he is doing something else, i do
not need his attention.

To display the sheet i use the NSApplication method:

- (void)beginSheet:(NSWindow *)sheet modalForWindow:(NSWindow
*)docWindow modalDelegate:(id)modalDelegate
didEndSelector:(SEL)didEndSelector contextInfo:(void *)contextInfo

Is there a way to do what i want? namely display a sheet without asking
for the user attention.
_______________________________________________
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.

References: 
 >displaying a sheet without having the icon bouncing (From: olivier <email@hidden>)

  • Prev by Date: NSTableView scrollbar not updating
  • Next by Date: Re: cocoa-dev digest, Vol 2 #2027 - 17 msgs
  • Previous by thread: displaying a sheet without having the icon bouncing
  • Next by thread: Looking for Cocoa source code
  • Index(es):
    • Date
    • Thread