Solved

API FlashWindow

Posted on 2000-02-15
9
421 Views
Last Modified: 2010-05-02
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
Comment
Question by:Bhaskar Ganapathe
  • 3
  • 3
  • 2
  • +1
9 Comments
 
LVL 1

Expert Comment

by:jjsc
ID: 2526367
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
 
LVL 14

Accepted Solution

by:
waty earned 25 total points
ID: 2526530
0
 
LVL 1

Expert Comment

by:jjsc
ID: 2526551
That's a *lot* of code to demo the FlashWindow() call :-)
0
 
LVL 14

Expert Comment

by:waty
ID: 2526580
0
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
LVL 6

Expert Comment

by:Marine
ID: 2526688
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
 
LVL 5

Author Comment

by:Bhaskar Ganapathe
ID: 2530058
Thank you Marine, Your's code is
working fine. Thanks a lot for this.

0
 
LVL 6

Expert Comment

by:Marine
ID: 2530732
:-), no problem. Good Luck.
0
 
LVL 6

Expert Comment

by:Marine
ID: 2533588
Will someone get the points for this ?
0
 
LVL 1

Expert Comment

by:jjsc
ID: 2535366
I wondered when you were going to ask :-) Now if only bhaspup is listening...
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now