README.md

December 5, 2022 ยท View on GitHub

***Form Flash***

Description

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

More Info

make a timer and set the interval to 3000.

Submitted On
ByBen Doherty
LevelUnknown
User Rating3.6 (50 globes from 14 users)
CompatibilityVB 5.0, VB 6.0
CategoryWindows API Call/ Explanation
WorldVisual Basic
Archive File

API Declarations

private declare function FlashWindow lib "user32" alias "FlashWindow" (ByVal hWnd as long, ByVal bInvert as long) as long

Source Code

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