Click to See Complete Forum and Search --> : Application Notification


Rahul Mundke
May 28th, 2001, 12:36 AM
Hello There ,

I had a requirement where if my application is minimised and some events happens then the application should start blinking in the taskbar .

Can anyone help me out for this situation .

Thanks ,
Rahul


You can see stars when it is darks.

cksiow
May 28th, 2001, 01:44 AM
check out the FlashWindowEx API.

HTH

cksiow
http://vblib.virtualave.net - share our codes

Tower
May 28th, 2001, 03:08 AM
Const FLASHW_STOP = 0
Const FLASHW_CAPTION = &H1
Const FLASHW_TRAY = &H2
Const FLASHW_ALL = (FLASHW_CAPTION Or FLASHW_TRAY)
Const FLASHW_TIMER = &H4
Const FLASHW_TIMERNOFG = &HC

private Type FLASHWINFO
cbSize as Long
hwnd as Long
dwFlags as Long
uCount as Long
dwTimeout as Long
End Type

private Declare Function FlashWindowEx Lib "user32" _
(pfwi as FLASHWINFO) as Boolean

private Sub Form_Load()
Dim FlashInfo as FLASHWINFO
FlashInfo.cbSize = len(FlashInfo)
FlashInfo.dwFlags = FLASHW_ALL Or FLASHW_TIMER
FlashInfo.dwTimeout = 0
FlashInfo.hwnd = me.hwnd
FlashInfo.uCount = 0
FlashWindowEx FlashInfo
End Sub