Greetings,
I am noticing this quite regularly now.
When a set focus command is sent from my script the main window itself is not getting focus...
Instead the small preview window (that appears when you hover over the window label in the lower task bar) gets focus instead.
Of course this means that the main window does not receive any keys and so on that are sent to it.
I hope I have explained this sufficiently for you to have look at it Marcus.
Thanks and all the best,
Phil.
SetFocus problem in Windows Vista
Moderators: JRL, Dorian (MJT support)
- Phil Pendlebury
- Automation Wizard
- Posts: 543
- Joined: Tue Jan 16, 2007 9:00 am
- Contact:
SetFocus problem in Windows Vista
Phil Pendlebury - Linktree
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
I'm running Vista and have never seen this happen. Do you get this with all/any windows, or just one in particular? Have you checked the View System Windows tool to see if there are more than one window with the same title? Are you using the asterisk or the explicit window title? Have you used WF_TYPE to narrow down the type of window to find?
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
- Phil Pendlebury
- Automation Wizard
- Posts: 543
- Joined: Tue Jan 16, 2007 9:00 am
- Contact:
Hi Marcus, it does seem to be one window in particular but that is the only window that I am really using this app for.mtettmar wrote:I'm running Vista and have never seen this happen. Do you get this with all/any windows, or just one in particular? Have you checked the View System Windows tool to see if there are more than one window with the same title? Are you using the asterisk or the explicit window title? Have you used WF_TYPE to narrow down the type of window to find?
I am using asterisk.
I will look into the other questions you have asked and give you some answers as soon as possible.
I thought it would be an idea to alert you about this just in case there were things I should try (as you have suggested).
Thanks.
Phil Pendlebury - Linktree
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Hi Phil,
Playing around today I managed to replicate it with one particular window. We've looked into it and can see that there could be instances where this preview window is focused, instead of the one you want. We will work on a mod to ignore these ThumbnailClass windows for the next maintenance release, to get rid of the chance of this ever happening.
Playing around today I managed to replicate it with one particular window. We've looked into it and can see that there could be instances where this preview window is focused, instead of the one you want. We will work on a mod to ignore these ThumbnailClass windows for the next maintenance release, to get rid of the chance of this ever happening.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
- Phil Pendlebury
- Automation Wizard
- Posts: 543
- Joined: Tue Jan 16, 2007 9:00 am
- Contact:
Well there you go. Another great example of great support. Instead of just dismissing me as a dumb new user.mtettmar wrote:Hi Phil,
Playing around today I managed to replicate it with one particular window. We've looked into it and can see that there could be instances where this preview window is focused, instead of the one you want. We will work on a mod to ignore these ThumbnailClass windows for the next maintenance release, to get rid of the chance of this ever happening.
I was thinking that *adding* ThumbnailClass to a future release would be quite cool but wasn't sure if the class actually existed.
Anyway, great news and my thanks one again for you looking into this.

(Super happy customer)
Phil Pendlebury - Linktree