I created a small form that acts like service notifications (disappears in the \ above the notification icon icon)
I am having problems displaying this form, I want to display it without focus taken from my main application (or any other form), I managed to get the attached code that does something like this (using Me. Activate to return focus) But this not very convenient - focus switches for a moment plus I want to show the form from different areas of my application ...
Dim frm2 As New frmNotification()
frm2.TopMost = True
frm2.Show()
Me.Activate()
Any ideas?
source
share