Search the Community
Showing results for tags 'focus'.
-
Hi, I don't know if it's a bug or it's something must be configured in system script, anyway I would appreciate any help to solve this. If you execute gui_07 sample with MOUSE_SOFT defined, the user interface can't gain the focus by left mouse button event. I think is more intuitive, whe left mouse button is pressed over an object gui, pass the focus to user interface instead of priorize the mouse control as it does when MOUSE_SOFT is not defined. Thanks. Edit: I've modified the system.h script to ignore left mouse button in the first frame to give the GUI system a chance to receive the event, in the next frames, if the button is still pressed, the mouse controls events are processed. This is the modified file: system.h
-
[SOLVED] Custom App cannot recover in full screen after losing focus
mohamed.irshad.k posted a topic in C++ Programming
We are using Direct3D9 in our Unigine::App. While in full screen, if the app loses focus, it cannot recover. I tried the IDirect3DDevice9::Reset() but it fails saying that all the resources need to be released before reseting the device. What is the best way to handle this situation?