473,320 Members | 1,858 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,320 software developers and data experts.

flashing taskbar

JC
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 bar button flash! Any help
woudl be gratefully revieved.

Thanks

JC
Nov 15 '05 #1
3 5345
"JC" <ja*********@btinternet.com> wrote:
I want the task bar button to flash


Use FlashWindowEx, as described here:
http://tinyurl.com/os7k

P.

--
www.CL4.org
Nov 15 '05 #2
On 26 Sep 2003 07:28:45 -0700, JC <ja*********@btinternet.com> wrote:
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 bar button flash! Any help
woudl be gratefully revieved.

Thanks

JC


JC,

You can call the FlashWindow or FlashWindowEx API function through the P/Invoke layer in order to do this. The declaration is as follows:

[DllImport("user32.dll")]
public static extern bool FlashWindow(IntPtr hWnd, bool bInvert);

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- nick(d0t)paldino=At-exisconsulting'dot|com
Nov 15 '05 #3
Hi Paul,

I have checked out the posting yuou hightlighted - thankyou. I still
have a problem, I am still quite new to c# and am unsure how to actually
make that code work - e.g. how do I actually call the FlashWindowEx
function?
ALso, what is pfwi?

I appreciate any help you can offer.

Yours

JC

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 15 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

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: Maka Sili | last post by:
Hi, My VC++ application does not have a titlebar (and therefore no System menu, no minimize, no maximize and no close button). We have a custom button for minimize and close. When the app...
2
by: JohnProgrammer | last post by:
I know I can fill the screen in VB.NET by starting my window maximized and without a border. My question is; in VB.NET is there a way to enable/disable the taskbar much like doing the "always on...
2
by: Geoff Jones | last post by:
Hiya Can anybody help me with the following question? I have an application which has a maximised main form. At startup, the form is maximised but the taskbar is still visible at the bottom of...
1
by: Jeroen Gouma | last post by:
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
by: Rain | last post by:
Does anyone know the code in C# or snippet or API so i can hide and show the windows taskbar? Many people have suggested using ShowWindow and FindWindow or the ABM_SETSTATE but i am having problem...
6
lotus18
by: lotus18 | last post by:
Hello World I have an API here that shows and hides the windows taskbar. My question is ... how can I completely hide the taskbar without a space below? Like setting it to Auto-hide the taskbar on...
5
by: Lee | last post by:
Hi, I'm looking for a way to determine the location of the taskbar, whether it's located at the top, bottom, left or right of the screen. Is there any way this can be done and if so, would...
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...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.