I have a few questions related to using source input devices registered with the RIDEV_NOLEGACY flag.
- when the window is inactivated, and I set the focus with a mouse click on the window, the focus is obtained, but the z-order of the window remains unchanged. (This does not happen during alt-tabbing)
- impossible to interact with chrome window (resize, title bar buttons)
In my input class, I create a thread that only creates a message box and registers raw input devices. In another thread, I create a window that is used to render OpenGL.
Everything works fine until the legacy flag is specified. Perhaps this is just my ignorance of the Windows API. I tried working on the first problem with :: Set [Active, Foreground] Window hacks of inactivity. Is there a proper way to deal with these problems, or am I just unable to disable obsolete keyboard and mouse messages?
source share