Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Imports System.Runtime.InteropServices
- Public Class Form1
- <DllImport("user32.dll", EntryPoint:="FlashWindow")>
- Public Shared Function FlashWindow(ByVal hWnd As Integer, ByVal bInvert As Integer) As Integer
- End Function
- Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
- FlashWindow(Me.Handle, 1)
- End Sub
- End Class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement