CommonMessagePump.AllowCancel Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Controls if the wait dialog has an enabled cancel button.
public:
property bool AllowCancel { bool get(); void set(bool value); };
public:
property bool AllowCancel { bool get(); void set(bool value); };
public bool AllowCancel { get; set; }
member this.AllowCancel : bool with get, set
Public Property AllowCancel As Boolean
Property Value
true
if the wait dialog has an enabled cancel button, otherwise false
.
Remarks
This may be set before calling ModalWaitForHandles or during one of the callbacks in ModalWaitForHandlesWithClient.