Search Results for

    Show / Hide Table of Contents

    Class WindowMessageSink

    Receives messages from the taskbar icon through window messages of an underlying helper window.

    Inheritance
    System.Object
    WindowMessageSink
    Implements
    System.IDisposable
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Simplic.Framework.Core.TaskbarNotification.Interop
    Assembly: Simplic.Framework.Base.dll
    Syntax
    public class WindowMessageSink : IDisposable

    Constructors

    | Improve this Doc View Source

    WindowMessageSink(NotifyIconVersion)

    Creates a new message sink that receives message from a given taskbar icon.

    Declaration
    public WindowMessageSink(NotifyIconVersion version)
    Parameters
    Type Name Description
    NotifyIconVersion version

    Fields

    | Improve this Doc View Source

    CallbackMessageId

    The ID of messages that are received from the the taskbar icon.

    Declaration
    public const int CallbackMessageId = 1024
    Field Value
    Type Description
    System.Int32

    Properties

    | Improve this Doc View Source

    IsDisposed

    Set to true as soon as Dispose has been invoked.

    Declaration
    public bool IsDisposed { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Version

    The version of the underlying icon. Defines how incoming messages are interpreted.

    Declaration
    public NotifyIconVersion Version { get; set; }
    Property Value
    Type Description
    NotifyIconVersion

    Methods

    | Improve this Doc View Source

    Dispose()

    Disposes the object.

    Declaration
    public void Dispose()
    Remarks

    This method is not virtual by design. Derived classes should override Simplic.Framework.Core.TaskbarNotification.Interop.WindowMessageSink.Dispose(System.Boolean).

    | Improve this Doc View Source

    Finalize()

    This destructor will run only if the Dispose() method does not get called. This gives this base class the opportunity to finalize.

    Important: Do not provide destructors in types derived from this class.

    Declaration
    protected void Finalize()

    Events

    | Improve this Doc View Source

    BalloonToolTipChanged

    Fired if a balloon ToolTip was either displayed or closed (indicated by the boolean flag).

    Declaration
    public event Action<bool> BalloonToolTipChanged
    Event Type
    Type Description
    System.Action<System.Boolean>
    | Improve this Doc View Source

    ChangeToolTipStateRequest

    The custom tooltip should be closed or hidden.

    Declaration
    public event Action<bool> ChangeToolTipStateRequest
    Event Type
    Type Description
    System.Action<System.Boolean>
    | Improve this Doc View Source

    MouseEventReceived

    Fired in case the user clicked or moved within the taskbar icon area.

    Declaration
    public event Action<MouseEvent> MouseEventReceived
    Event Type
    Type Description
    System.Action<MouseEvent>
    | Improve this Doc View Source

    TaskbarCreated

    Fired if the taskbar was created or restarted. Requires the taskbar icon to be reset.

    Declaration
    public event Action TaskbarCreated
    Event Type
    Type Description
    System.Action

    Implements

    System.IDisposable
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx