C# Class Hardcodet.Wpf.TaskbarNotification.Interop.WindowMessageSink

Receives messages from the taskbar icon through window messages of an underlying helper window.
Inheritance: IDisposable
Afficher le fichier Open project: kampiuceris/PsHandler Class Usage Examples

Private Properties

Свойство Type Description
CreateEmpty WindowMessageSink
CreateMessageWindow void
Dispose void
OnWindowMessageReceived System.IntPtr
ProcessWindowMessage void
WindowMessageSink System

Méthodes publiques

Méthode Description
Dispose ( ) : void

Disposes the object.

This method is not virtual by design. Derived classes should override Dispose(bool).

WindowMessageSink ( NotifyIconVersion version ) : System

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

Private Methods

Méthode Description
CreateEmpty ( ) : WindowMessageSink

Creates a dummy instance that provides an empty pointer rather than a real window handler.
Used at design time.

CreateMessageWindow ( ) : void

Creates the helper message window that is used to receive messages from the taskbar icon.

Dispose ( bool disposing ) : void

Removes the windows hook that receives window messages and closes the underlying helper window.

OnWindowMessageReceived ( IntPtr hwnd, uint messageId, IntPtr wparam, IntPtr lparam ) : IntPtr

Callback method that receives messages from the taskbar area.

ProcessWindowMessage ( uint msg, IntPtr wParam, IntPtr lParam ) : void

Processes incoming system messages.

WindowMessageSink ( ) : System

Method Details

Dispose() public méthode

Disposes the object.
This method is not virtual by design. Derived classes should override Dispose(bool).
public Dispose ( ) : void
Résultat void

WindowMessageSink() public méthode

Creates a new message sink that receives message from a given taskbar icon.
public WindowMessageSink ( NotifyIconVersion version ) : System
version NotifyIconVersion
Résultat System