VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Form Flash

by Ben Doherty (5 Submissions)
Category: Windows API Call/Explanation
Compatability: Visual Basic 3.0
Difficulty: Unknown Difficulty
Date Added: Wed 3rd February 2021
Rating: (14 Votes)

This code makes your form window flash like Aol's Instant Messanger when it receives a message.

Assumes
make a timer and set the interval to 3000.
API Declarations
private declare function FlashWindow lib "user32" alias "FlashWindow" (ByVal hWnd as long, ByVal bInvert as long) as long

Rate Form Flash

Private sub timer1_timer()
dim nReturnValue as integer
nReturnValue = FlashWindow(form1.hWnd, true)
end sub

Download this snippet    Add to My Saved Code

Form Flash Comments

No comments have been posted about Form Flash. Why not be the first to post a comment about Form Flash.

Post your comment

Subject:
Message:
0/1000 characters