WinForms

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Interface ICancelModeProvider

    Show / Hide Table of Contents

    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 Description
    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.

    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved