IUserNotificationCallback interface (shobjidl.h)

Exposes a method for the handling of a mouse click or shortcut menu access in a notification balloon. Used with IUserNotification2::Show.

Inheritance

The IUserNotificationCallback interface inherits from the IUnknown interface. IUserNotificationCallback also has these types of members:

Methods

The IUserNotificationCallback interface has these methods.

 
IUserNotificationCallback::OnBalloonUserClick

Called when the user clicks the balloon. The application may respond with an action that is suitable for the balloon being clicked.
IUserNotificationCallback::OnContextMenu

Called when the user right-clicks (or presses SHIFT+F10) the icon in the notification area. The application should show its context menu in response.
IUserNotificationCallback::OnLeftClick

Called when the user clicks the icon in the notification area. The applications may launch some customary UI in response.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header shobjidl.h