Find Code:
All Words
Any of the Words
Exact Phrase
Home
:
Code
:
Forums
:
Submit
:
Mailing List
:
About
:
Contact
Code
All
VB.NET
ASP.NET
C#
VB Classic
ASP Classic
Snippets
Popular
Resources
Submit Code
Forums
Articles
Tips
Links
Books
Contest
Link to us
Calls FlashWindow api which causes the window capt...
Website:
http://www.a1vbcode.com/
Submitted:
1/15/2000
Version:
VB5
Compatibility:
VB5,6
Category:
Windows API
Views:
12692
Calls FlashWindow api which causes the window caption to flash repeatedly.
Declarations:
Declare Function FlashWindow Lib "user32" Alias "FlashWindow" (ByVal hwnd As Long, ByVal bInvert As Long) As Long
Code:
Private Sub Form_Load() 'Set interval to one second = 1000 milliseconds Timer1.Interval = 1000 End Sub Private Sub Timer1_Timer() Dim ReturnVal As Long ReturnVal = FlashWindow(Form1.hWnd, 1) End Sub
Home
|
Forums
|
Submit
|
Books
|
Mailing List
|
Advertising
|
About
|
Contact
© 2024 A1VBCode. All rights reserved.
Legal disclaimer & terms of use
Privacy statement