By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,665 Members | 2,802 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,665 IT Pros & Developers. It's quick & easy.

Flashing button in taskbar

P: 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
Jan 23 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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

Jan 23 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.