Interface ICancelModeProvider
ICancelModeProvider provides an interface for the CancelMode event.
Namespace: Syncfusion.Windows.Forms
Assembly: Syncfusion.Shared.Base.dll
Syntax
public interface ICancelModeProvider
Events
CancelMode
Occurs when the window receives a WM_CANCELMODE message.
Declaration
event EventHandler CancelMode
Event Type
Type |
---|
System.EventHandler |
Remarks
WM_CANCELMODE is sent to cancel certain modes, such as mouse capture. For example, the system sends this message to the active window when a dialog box or message box is displayed. Certain functions also send this message explicitly to the specified window regardless of whether it is the active window. For example, the EnableWindow function sends this message when disabling the specified window.