Connecting Tech Pros Worldwide Help | Site Map

Flashing button in taskbar

  #1  
Old January 23rd, 2006, 12:55 PM
Jeroen Gouma
Guest
 
Posts: n/a
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
  #2  
Old January 23rd, 2006, 02:45 PM
Steve
Guest
 
Posts: n/a

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 Threads
Thread Thread Starter Forum Replies Last Post
Using C Sharp to make application flash at bottom of screen? Bernard.Mangay answers 3 August 19th, 2008 11:55 AM
flashing taskbar JC answers 3 November 15th, 2005 12:04 PM
Flashing Taskbar Button German Garbuglia answers 1 November 15th, 2005 11:59 AM
Flashing task bar button Mark answers 6 November 13th, 2005 04:57 AM