What if your application is minimized and you want user attention
You can always do it with a message box.
But there is the msn style
That the icon in the taskbar "blinks"
How to do it??
Declaration
Imports System.Runtime.InteropServices
_
Public Function FlashWindow(ByVal hwnd As Integer, ByVal bInvert As Integer) As Integer
End Function
When you want to call this function you just FlashWindow(Me.Handle, 1)
But when you call this function the windows and the taskbar will "blink" one time
To achieve "msn style" put the call method into a timer (VB) for 490 ms and enable the tick tock :)
And when the user interacts with your form (got Focus???Click??? Your call but i suggest got Focus)
Hope this is useful
No comments:
Post a Comment