NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

TrayIcon MouseMove Event

Occurs whenever the user moves the mouse pointer over a control.

The following declaration shows the syntax for a method that handles the MouseMove event.

[Visual Basic]
Private Sub TrayIconName_MouseMove( _
   ByVal sender As Object, _
   ByVal e As MouseEventArgs _
)
[C#]
private void TrayIconName_MouseMove(
   object sender,
   MouseEventArgs e
);
[C++]
private: void TrayIconName_MouseMove(
   Object* sender,
   MouseEventArgs* e
);
[JScript]
private TrayIconName_MouseMove(
   sender : Object,
   e : MouseEventArgs
);

Parameters

sender
The source of the event.
e
A MouseEventArgs that contains the event data. The following MouseEventArgs properties provide information specific to this event.
Property Description
Button
Gets which mouse button was pressed.
Clicks
Gets the number of times the mouse button was pressed and released.
Delta
Gets a signed count of the number of detents the mouse wheel has rotated.
X
Gets the x-coordinate of a mouse click.
Y
Gets the y-coordinate of a mouse click.

See Also

TrayIcon Class | TrayIcon MembersTopic | System.WinForms Namespace | TrayIcon.MouseDown | TrayIcon.MouseUp