Solved

How to make MDI child window blinking

Posted on 2006-10-25
2
586 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 86

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

729 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