Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

API FlashWindow

Posted on 2000-02-15
9
Medium Priority
?
437 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 50 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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

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…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
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…
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

705 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