Classic Shell
http://www.classicshell.net/forum/

Prevent focus stealing and thus window closing on startup
http://www.classicshell.net/forum/viewtopic.php?f=13&t=7286
Page 1 of 1

Author:  WhatHaveForumName [ Sun Jan 29, 2017 11:21 am ]
Post subject:  Prevent focus stealing and thus window closing on startup

When Windows is booting (on my Windows 8.1 system, anyway) Windows keeps stealing the keyboard focus (because it is nice like that). Consequently, if I am trying to navigate Classic Shell's start menu, or search via search box, I get repeatedly frustrating. So frustrating is this, indeed, that I count it almost as a bug. Any chance of a remedy? Thanks.

Author:  Gaurav [ Sun Jan 29, 2017 8:08 pm ]
Post subject:  Re: Prevent focus stealing and thus window closing on startu

It can't be prevented. There must be one specific program causing this - identify it and uninstall it. It can also be due to an oversensitive touchpad which causes unexpected taps causing focus to change. Download the correct touchpad driver and disable tapping.

Author:  WhatHaveForumName [ Tue Jan 31, 2017 5:58 pm ]
Post subject:  Re: Prevent focus stealing and thus window closing on startu

Gaurav,

Thanks for the reply.

However:

(1) the problem occurs on a computer without a touchpad;

(2) the problem can be prevented.

I know 2 to be the case because just recently I have written a program that prevents it. It's an Autohotkey script. I've put it - a compiled executable file, to be run on boot, together with the source code, which if one has Autohotkey one can compile or interpret - here, on box.net. I haven't tested the program exhaustively but it seems to work well. (Also: possibly the compiled file won't work on 32-bit systems . .)

EDIT: If I, a self-taught amateur programmer who isn't really any good, can do this in ten minutes, there's no reason at all why ClassicShell can't do it.

Further edit: '
There must be one specific program causing this' - why? This focus-stealing sort of problem is one that has beset Windows users for years. I fear that what you have said is false.

Page 1 of 1 All times are UTC - 8 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/