Solved

API FlashWindow

Posted on 2000-02-15
9
433 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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

752 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