Poznámka:
Přístup k této stránce vyžaduje autorizaci. Můžete se zkusit přihlásit nebo změnit adresáře.
Přístup k této stránce vyžaduje autorizaci. Můžete zkusit změnit adresáře.
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.
Inheritance
The IUserNotification2 interface inherits from the IUnknown interface. IUserNotification2 also has these types of members:
Methods
The IUserNotification2 interface has these methods.
| IUserNotification2::PlaySound Plays a sound in conjunction with the notification. (IUserNotification2.PlaySound) |
| IUserNotification2::SetBalloonInfo Sets the information to be displayed in a balloon notification. (IUserNotification2.SetBalloonInfo) |
| IUserNotification2::SetBalloonRetry Specifies the conditions for trying to display user information when the first attempt fails. (IUserNotification2.SetBalloonRetry) |
| IUserNotification2::SetIconInfo Sets the notification area icon associated with specific user information. (IUserNotification2.SetIconInfo) |
| IUserNotification2::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
| 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 |