Solved

How to make MDI child window blinking

Posted on 2006-10-25
2
571 Views
Last Modified: 2008-02-01
Hi experts!

I have an MDI application. Within this application I have several child windows, which show informations on some event trigger.
When the window is not fucused and the event arrives, the window gets focused.

The problem is, that some events come too quickly and some windows get focused too frequently. I've solved this by adding some timespan when the window can focus, so it is not focusing more than once per 10 seconds.

Another issue is that when user minimizes the child window I would like it not to pop-up, but just indicate there is a message wating (like in regular non-MDI windows, when window tries to get focus window handle on taskbar is blinking)

And the core of my question is: how to make minimized icons of child MDI window to blink (so the user knows there is event wating to see)?

0
Comment
Question by:VovinE
2 Comments
 
LVL 13

Expert Comment

by:joechina
ID: 17843667
Hi, VovinE,

Could you try to add a timer on your child form and in the timer ticker event handler hide and show the window?
In the event handler of message received, if the child window state is minimized, start the timer.
In the resize event handler of the child window, if the timer is enabled , disable it.

Good luck
0
 
LVL 85

Accepted Solution

by:
Mike Tomlinson earned 500 total points
ID: 17844288
The FlashWindowEx() API works with Mdi Children as well...

See:
http://www.experts-exchange.com/Programming/Programming_Languages/C_Sharp/Q_20669088.html
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
C# Error - Add Failed 12 49
Create XML 5 33
How to Get total minutes between two hours 4 27
C# TextBox 11 12
Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now