I hope someone recognises this situation!

When I run the compiled version of my application and then change focus to another running program (by clicking on the taskbar) the second program comes to the front OK but the taskbar entry for *my* application starts flashing and the taskbar stays revealed (it's set to autohide) until I click back on my program.

This is very annoying behaviour (I use Mozilla Firefox and this does something similar when you have a download window open).

How do I stop this happening?

Paul.