Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old January 23rd, 2006, 12:55 PM
Jeroen Gouma
Guest
 
Posts: n/a
Default Flashing button in taskbar

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
Default 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

 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles