Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IUserNotification2 interface

Exposes methods that set notification information and then display that notification to the user in a balloon that appears in conjunction with the notification area of the taskbar.

Note  IUserNotification2 does not inherit from IUserNotification. IUserNotification2 differs from IUserNotification only in its Show method, which adds an additional parameter for a callback interface to communicate with the notification. Otherwise the two interfaces are identical in form and function. CLSID_UserNotification implements both versions of Show as an overload.

Members

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

Methods

The IUserNotification2 interface has these methods.

MethodDescription
PlaySound

Plays a sound in conjunction with the notification.

SetBalloonInfo

Sets the information to be displayed in a balloon notification.

SetBalloonRetry

Specifies the conditions for trying to display user information when the first attempt fails.

SetIconInfo

Sets the notification area icon associated with specific user information.

Show

Displays the user information in a balloon-style tooltip.

 

Remarks

When to Implement

An implementation of this interface is provided in Windows as CLSID_UserNotification.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

DLL

Shell32.dll (version 6.0.6 or later)

See also

IUserNotification

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.