Hi,
VB.NET 2003
I'v got NotifyIcon, on minimize button click, my app is hiding to tray
by following code:
ni.Visible = True
Me.Hide()
Me.WindowState = FormWindowState .Minimized
here, ni is NotifyIcon control.
my application, before start must check if my program is already
running(minimiz ed in tray, can't use FindWindow), and if is it true,
it should close itself and show that instance from tray. is it
possible?
I know how to check if is it running, but i can't show window from
tray.
I tried ShowWindow API function, but it doesn't work for me.
does anybody can help me?
Pozdrawiam - Greatings in polish
Thank you,
Mrozu
VB.NET 2003
I'v got NotifyIcon, on minimize button click, my app is hiding to tray
by following code:
ni.Visible = True
Me.Hide()
Me.WindowState = FormWindowState .Minimized
here, ni is NotifyIcon control.
my application, before start must check if my program is already
running(minimiz ed in tray, can't use FindWindow), and if is it true,
it should close itself and show that instance from tray. is it
possible?
I know how to check if is it running, but i can't show window from
tray.
I tried ShowWindow API function, but it doesn't work for me.
does anybody can help me?
Pozdrawiam - Greatings in polish
Thank you,
Mrozu