IProgressDialog::HasUserCancelled method
Checks whether the user has canceled the operation.
Syntax
BOOL HasUserCancelled();
Parameters
This method has no parameters.
Return value
Type: BOOL
TRUE if the user has canceled the operation; otherwise, FALSE.
Remarks
The system does not send a message to the application when the user clicks the Cancel button. You must periodically use this function to poll the progress dialog box object to determine whether the operation has been canceled.
Requirements
|
Minimum supported client |
Windows 2000 Professional, Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps only] |
|
Header |
|
|
DLL |
|
See also
Show: