SetOverlayIcon() 공개 메소드

Applies an overlay to a taskbar button of the given window handle to indicate application status or a notification to the user.
public SetOverlayIcon ( IntPtr windowHandle, System icon, string accessibilityText ) : void
windowHandle System.IntPtr The handle of the window whose associated taskbar button receives the overlay. This handle must belong to a calling process associated with the button's application and must be a valid HWND or the call is ignored.
icon System The overlay icon
accessibilityText string String that provides an alt text version of the information conveyed by the overlay, for accessibility purposes
리턴 void
예제 #1
0
 public void SetOverlayIcon(Window window, Icon icon, string accessibilityText)
 {
     _manager.SetOverlayIcon(window, icon, accessibilityText);
 }