Hi Bram,

one suggestion for 'hackish' way  to implement,

for windows in

osgViewer/GraphicsWindowWin32.cpp

in handleNativeWindowingEvent(

to add handling of boolean for focused state tracing events WM_SETFOCUS
WM_KILLFOCUS  WM_ACTIVATE like described in

http://stackoverflow.com/questions/466354/how-can-i-tell-if-a-window-has-focus-win32-apianswer
4

and request the state when needed (either pushing in osg event Queue
(getEventQueue (push) then checkEvents (get)) or by 'hackish' way )

or, if it is desired to have for many platforms and have official osg
support - then there is need for patch for other platforms

Regards
Sergey
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to