I'm in the process of writing an app that needs to launch using the Windows Logon Script. The issue, when it launches, the start menu steals the focus as it's being loaded causes the need to do a "double click" when a single click will work. After the start menu loads, it gets focus back. I've tried a few different ways and tried C# and VB. I couldn't pin down the issue on what was causing it, but this seems like it.
Here is my code so far, its basic and in a POC state.
Question
fusi0n
I'm in the process of writing an app that needs to launch using the Windows Logon Script. The issue, when it launches, the start menu steals the focus as it's being loaded causes the need to do a "double click" when a single click will work. After the start menu loads, it gets focus back. I've tried a few different ways and tried C# and VB. I couldn't pin down the issue on what was causing it, but this seems like it.
Here is my code so far, its basic and in a POC state.
If you know how to do this in C# or VB, that would be great.
Thanks
Link to comment
https://www.neowin.net/forum/topic/1351168-cvb-always-have-focus/Share on other sites
1 answer to this question
Recommended Posts