AllowCancellation Property
Description
Gets or sets whether to allow dialog cancellation for the task dialog.
Property Type
Read-write property
Syntax (Visual Basic)
Public Property AllowCancellation() As Boolean
Remarks
When AllowCancellation is true, the dialog should be able to be closed using Alt-F4, Escape, and the title bar's close button even if no cancel button is specified by the AddButton member function.
The illustrations below show what a typical task dialog would look like when AllowCancellation is both true and false:


See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.