Hello,
I have a Notify Icon on the main form of my application. It periodically checks for Alerts (as we call them) and notifies the user if they have new Alerts (very similar to Outlook telling you that you have a new e-mail). When the user clicks on the Notify Icon, it brings the Alerts module to the front if an instance of it is open, and opens a new instance if there is not one.
But, I would also like for my program to come to the front as if the user clicked on it in the taskbar.
Does this require some sort of API call?
I have tried these:
Me.WindowState = FormWindowState.Normal
Me.Focus()
Me.BringToFront()
but none have worked.
Any ideas?
Thanks




Reply With Quote