Bhaskar Ganapathe
asked on
API FlashWindow
Flash Window API is not working,
is there any extra file is required
in the system for it or the api is
enough.Help me in this. cheers.
is there any extra file is required
in the system for it or the api is
enough.Help me in this. cheers.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
That's a *lot* of code to demo the FlashWindow() call :-)
Here is another sample :
http://home.t-online.de/home/vbfrood/dwlproj/flashex.zip
http://home.t-online.de/home/vbfrood/dwlproj/flashex.zip
Here is probably the easiest example you will see. This uses the timer.
Public Declare Function FlashWindow Lib "user32" (ByVal hwnd As Long, ByVal bInvert As Long) As Long
Private Sub Timer1_Timer()
FlashWindow Me.hwnd, 1
End Sub
to make it stop blinking you can stop timer. Or if you using loop to do this. Then flashwindow me.hwnd,0
Public Declare Function FlashWindow Lib "user32" (ByVal hwnd As Long, ByVal bInvert As Long) As Long
Private Sub Timer1_Timer()
FlashWindow Me.hwnd, 1
End Sub
to make it stop blinking you can stop timer. Or if you using loop to do this. Then flashwindow me.hwnd,0
ASKER
Thank you Marine, Your's code is
working fine. Thanks a lot for this.
working fine. Thanks a lot for this.
:-), no problem. Good Luck.
Will someone get the points for this ?
I wondered when you were going to ask :-) Now if only bhaspup is listening...
John