Connecting Tech Pros Worldwide Forums | Help | Site Map

Flashing button in taskbar

Jeroen Gouma
Guest
 
Posts: n/a
#1: Jan 23 '06
How can I make the Access-button in the taskbar start flashing from my
VBA-code?

I would like to have the user's attention if needed when they have the
application mnimized.

Thanks,

Jeroen

Steve
Guest
 
Posts: n/a
#2: Jan 23 '06

re: Flashing button in taskbar


There's an API call for it. The call is:
Private Declare Function FlashWindow Lib "user32" (ByVal hwnd As Long,
ByVal bInvert As Long) As Long

Example implementation:
Private Sub Form_Timer()
Dim a As Long
a=FlashWindow(Me.hwnd, 1)
End Sub

Closed Thread


Similar Microsoft Access / VBA bytes