• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 451
  • Last Modified:

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.
0
Bhaskar Ganapathe
Asked:
Bhaskar Ganapathe
  • 3
  • 3
  • 2
  • +1
1 Solution
 
jjscCommented:
Can you be more specific? That is, in what way is the function not working? It is designed to flash the title bar of a window (once) - if you need to flash several times, it's necessary to use the FlashWindowEx API call...

John
0
 
watyCommented:
0
 
jjscCommented:
That's a *lot* of code to demo the FlashWindow() call :-)
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
watyCommented:
0
 
MarineCommented:
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
0
 
Bhaskar GanapatheAuthor Commented:
Thank you Marine, Your's code is
working fine. Thanks a lot for this.

0
 
MarineCommented:
:-), no problem. Good Luck.
0
 
MarineCommented:
Will someone get the points for this ?
0
 
jjscCommented:
I wondered when you were going to ask :-) Now if only bhaspup is listening...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 3
  • 3
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now