I'm trying to make it so that a left click on a tray icon brings the application into view as this seems to be standard behavior for a left tray icon click but out the methods I have tried it only brings the window into view once per launch, have tried:
what am I missing?
Code:
User32Library = Library.Load("user32.dll") User32Library.BringWindowToTop(Application.GetWndHandle()) User32Library.SetWindowPos(Application.GetWndHandle(),0,0,0,0,0,0x3) Window.SetOrder(Application.GetWndHandle(),HWND_TOP)
Comment