Export (0) Print
Expand All

NotifyIcon.MouseUp Event

Occurs when the user releases the mouse button while the pointer is over the icon in the status notification area of the taskbar.

[Visual Basic]
Public Event MouseUp As MouseEventHandler
[C#]
public event MouseEventHandler MouseUp;
[C++]
public: __event MouseEventHandler* MouseUp;

[JScript] In JScript, you can handle the events defined by a class, but you cannot define your own.

Event Data

The event handler receives an argument of type MouseEventArgs containing data related to this event. 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. A detent is one notch of the mouse wheel.
X Gets the x-coordinate of the mouse.
Y Gets the y-coordinate of the mouse.

Remarks

For information about handling events, see Consuming Events.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

NotifyIcon Class | NotifyIcon Members | System.Windows.Forms Namespace | MouseDown | MouseMove

Show:
© 2014 Microsoft