Advertisement
ivandrofly

Make Application Flash In Taskbar

Jan 18th, 2014
282
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 0.37 KB | None | 0 0
  1. Imports System.Runtime.InteropServices
  2. Public Class Form1
  3.     <DllImport("user32.dll", EntryPoint:="FlashWindow")>
  4.     Public Shared Function FlashWindow(ByVal hWnd As Integer, ByVal bInvert As Integer) As Integer
  5.     End Function
  6.     Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
  7.         FlashWindow(Me.Handle, 1)
  8.     End Sub
  9. End Class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement