Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » ProgressMonitorDialog, problem with cancel button
ProgressMonitorDialog, problem with cancel button [message #439739] Thu, 15 July 2004 15:30 Go to next message
Eclipse UserFriend
Originally posted by: arnauann.ufrima.imag.fr

Hi,
I use a ProgressMonitorDialog and the cancel button have no effect.
Does anybody know how this class works?
I thought that I must only put the second parameter of the run method at
true to indicate that the thread can be interrupted, but it does not work.
thanks.
Re: ProgressMonitorDialog, problem with cancel button [message #439744 is a reply to message #439739] Thu, 15 July 2004 15:53 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.NO.SPAM.us.ibm.com

All this does is post a flag saying it is being canceled. It is the
responsibility of the thread to periodically check this flag (ie.
monitor.isCanceled()) to see if it should cancel.


--
Thanks, Rich Kulp

Previous Topic:Get the size of a Cursor
Next Topic:VM crash when returning E_FAIL from COM .DLL (Eclipse 3.0)
Goto Forum:
  


Current Time: Sat Apr 27 04:15:50 GMT 2024

Powered by FUDForum. Page generated in 0.07280 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top