Solved

API FlashWindow

Posted on 2000-02-15
9
435 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses
Course of the Month7 days, 4 hours left to enroll

623 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