473,386 Members | 1,752 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

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
Jan 23 '06 #1
1 4192
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Chris DiPierro | last post by:
If I do the following: App starts Dialog A Dialog A (in it's Load event) shows Dialog B modally Dialog B is set to show an icon in the taskbar If I run the application and don't perform any...
9
by: Phillip Parr | last post by:
Hello, I know there is no way in Javascript to make the task bar flash when your window is minimised. However, I found out recently that if a javascript alert is sent to netscape when the window...
6
by: Mark | last post by:
Hi All, Does anyone know of a way that I can get a task bar button to flash if a form is open? I have created something like a messenger application within my database but there are a few people...
3
by: JC | last post by:
Hi all! I have written a little Instant messenger application and I want the task bar button to flash when a message is recieved - and herein is my problem - I'm not sure how to make the task...
1
by: Terry | last post by:
I've seen several posts from people who have seen this flashing in TreeView's when resizing a form. I've noticed it in my app, but only in the child windows. For example, my main form has a...
2
by: news.microsoft.com | last post by:
I'm trying to write a program that will lock down the system. I want to hide the start button and taskbar. I found code using ShowWindow & FindWindow but they fail to work. Butttonhwnd =...
5
by: EMW | last post by:
Hi, On my ASPx.NET page I have quite a lot of controls, so it takes a little time to build it. Because of this when you click on a button, the page is redrawn and whatever the action was, the...
10
by: Mark Rae [MVP] | last post by:
Hi, This is really just a theoretical question for my own interest, and not for any nefarious purpose... :-) Say we have three applications running - Notepad, Wordpad and Excel - and each...
10
dzenanz
by: dzenanz | last post by:
I had a small project based on Qt4, ITK and OpenSceneGraph. It's main function is shown below. int main( int argc, char **argv ) { QApplication app(argc, argv); MainWindow mainForm = new...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.