Hi
I am creating an application which lives in the system tray, but when the icon is clicked the main window is opened on top of any others. I use the SetWindowPos api call to achieve this.
My problem is that I cannot get the window to have the focus when it opens. Keyboard input always goes to the task-bar. If I click on the window then it receives kbd input.
Any help or suggestions gratefully received!
I am creating an application which lives in the system tray, but when the icon is clicked the main window is opened on top of any others. I use the SetWindowPos api call to achieve this.
My problem is that I cannot get the window to have the focus when it opens. Keyboard input always goes to the task-bar. If I click on the window then it receives kbd input.
Any help or suggestions gratefully received!