• 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: How to do a progress window the "right way"?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to do a progress window the "right way"?


  • Subject: Re: How to do a progress window the "right way"?
  • From: "M. Uli Kusterer" <email@hidden>
  • Date: Sat, 25 Sep 2004 14:20:11 +0200

At 13:00 Uhr +0200 25.09.2004, Daniel Tapie wrote:
- I am able to determine the position of the Cancel button and therefore check if the mouse has been clicked in that rectangle BUT the problem comes when the user moves the Window because the window frame is not updated until the MovieExport process finishes. Since Cocoa does not provide a way to "lock" a window to a specific position, I'm stuck here...

Have you tried just calling NSApplication's nextEventMatchingMask: ... in concert with NSApplication's sendEvent: ? If you call that from the QuickTime callback, processing one event (or maybe a few) each time you're called, everything might "just work" :-)


So, because of all these closed doors, I wondered if there was a recommended way to provide feedback to the user and allow the user to cancel these kinds of processes.

Well, QuickTime is at heart still a Carbon API, so you will probably have to expect some issues to work around.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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
References: 
 >How to do a progress window the "right way"? (From: Daniel Tapie <email@hidden>)

  • Prev by Date: Re: Multiple Inheritence (Was: Is _objc_flush_caches_(Class) necessary to swizzle methods?)
  • Next by Date: Updating UI Date formats on user NSUserDefault changes
  • Previous by thread: Re: How to do a progress window the "right way"?
  • Next by thread: Updating UI Date formats on user NSUserDefault changes
  • Index(es):
    • Date
    • Thread