• 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: Progress Sheet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Progress Sheet


  • Subject: Re: Progress Sheet
  • From: Matt Neuburg <email@hidden>
  • Date: Sat, 02 Apr 2005 08:23:22 -0800

On Fri, 1 Apr 2005 21:21:44 -0800 (PST), M M <email@hidden> said:
>Hello,
>
>I used a progress bar for the first time. I placed the
>progress bar in a progress sheet. I have successfully
>shown the progress sheet when there is processing in
>my application.
>
> However, while the progress sheet is on display,
>though the main window is modal, when the user tried
>to click the "Close" button or other controls in the
>main window, the events are queued and after the
>progress sheet disappears, the events will be executed
>(ex. the application will be closed since the user
>clicks the "Close" button).
>
>I was expecting that when the progress sheet is
>displayed, the main window will be inactive and all
>the controls are disabled. Is this an expected
>behavior? How do i make the main window disable while
>the progress sheet is displayed?

It isn't clear to me why the events to the window are not being rejected
rather than queued ("the main window is modal"???? what's up with that?),
but you can clear the queue with discardEventsMatchingMask:. m.

--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide
<http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt>



 _______________________________________________
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

  • Prev by Date: Re: Split view in a table
  • Next by Date: Re: Dictionary Saving Horribly Slow!?
  • Previous by thread: Progress Sheet
  • Next by thread: Dictionary Saving Horribly Slow!?
  • Index(es):
    • Date
    • Thread