T
teejayem
I have a VB application with one main form. I also have a second form
that has the ShowInTaskbar property set to False.
If i click another application in the taskbar (for example:- Outlook)
then that application now has focus and covers up my application. If
I then click my application within the taskbar the main form is active
and is displayed above all other windows. The problem i have is that
the second form is still hidden behind all the other forms.
I thought that if i use the BringToFront() method within the
frmMain_GotFocus event it would also bring the second form to the
front but it doesn't. It seems that the GotFocus event is not fired
if i click my application within the taskbar.
Does anybody know what event I need?
that has the ShowInTaskbar property set to False.
If i click another application in the taskbar (for example:- Outlook)
then that application now has focus and covers up my application. If
I then click my application within the taskbar the main form is active
and is displayed above all other windows. The problem i have is that
the second form is still hidden behind all the other forms.
I thought that if i use the BringToFront() method within the
frmMain_GotFocus event it would also bring the second form to the
front but it doesn't. It seems that the GotFocus event is not fired
if i click my application within the taskbar.
Does anybody know what event I need?