Losing focus on window
-
Hi All,
As some of you might know, I'm building an immersive version of Sketchup. Since the user would not have access to a real keyboard, I'm simulating keyboard events via 3D menus and using AutoIt to mimic the selection as a keyboard press.
This is particularly needed for things like setting the number of sides of a polygon or in making n number of copies etc.Where I'm facing difficulty is that sometimes SU seems to lose focus on the current window. This happens on the most unexpected SU operations (setting timers or undo or commit operations), after which none of my AutoIt inputs get conveyed as keypresses. Has anyone faced a similar issue of losing focus on current window with SU calls? Also, is there a solution to the same (like directly talking to the status bar without having to mimic a keyboard press)?
Any help would be very much appreciated.
Thanks,
Arun -
Some times the toolwindows get the focus. Say if you undo a change where you edited a material in the Material Editor - SU will send the focus back to that window. Annoying.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement