Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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
public event MouseEventHandler MouseUp;
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.


For information about handling events, see Consuming Events.


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

© 2015 Microsoft