I have a VB6 app which uses 10 Forms. Apart from the start-up Form the other 9 Forms load when a menu item is clicked.

When the app starts & the start-up Form loads, the icon on the Taskbar is shown "depressed" meaning that my app is currently being used by the user. Now when I click a menu item & one of the 9 Forms gets loaded, I find that the icon in the Taskbar no longer remains "depressed" although the user is currently using my app wherein the focus is not on the start-up Form but on some other Form. If the loaded Form is closed i.e. the focus shifts back to the start-up Form, then the icon in the Taskbar again can be seen "depressed". This happens with a MsgBox as well.

So how do I ensure that the icon in the Taskbar always remains "depressed" when the user is working with my app (irrespective of whether the focus is on the start-up Form or on any of the other 9 Forms)?

Please note that all the Forms (of course, other than the start-up Form) are modal.