Solved

API FlashWindow

Posted on 2000-02-15
9
430 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
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
LVL 14

Expert Comment

by:waty
ID: 2526580
0
 
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

821 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