Solved

How to make MDI child window blinking

Posted on 2006-10-25
2
577 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Simple Injector with Web Service 4 41
What namespace do I need to import? 2 29
Problem!!! 8 33
jQuery - following an example but can I save data server side? 20 50
Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

809 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