Solved

How to make MDI child window blinking

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

864 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

22 Experts available now in Live!

Get 1:1 Help Now