opengl - Focus on MouseOver in Windows with Ogre3D -
i have application using ogre3d create multiple render windows, , i'm using solution posted here support non-exclusive mouse input these windows. however, find have physically click on render window before regains focus, whereas i'd render windows gain focus on mouseover event. possible capture mouseover event on unfocused render window in ogre3d/ois , subsequently set focus render window? to support kind of functionality using ogre3d in windows, had implement singleton object kept collection of of instantiated displays. class inputprocessor { /// @name types /// @{ public: /// @} /// @name inputprocessor implementation /// @{ public: void adddisplay(display* _pdisplay); bool processmousemoved(int _x, int _y, int _z, int _keymodifier); bool processmousepressed(int _keymodifier, int _id); bool processmousereleased(int _keymodifier, int _id); static inputprocessor& getsingleton(); /// @} /// @name 'stru