Search found 3 matches
- Mon Jun 06, 2011 12:04
- Forum: Modifications / Integrations / Customisations
- Topic: remove keyboard input focus
- Replies: 9
- Views: 9411
Re: remove keyboard input focus
Works fine. Here my code for the following generations. Registering the global event CEGUI::GlobalEventSet::getSingleton().subscribeEvent(CEGUI::Window::EventNamespace + "/" + CEGUI::Window::EventMouseButtonDown, CEGUI::Event::Subscriber(&Application::mouseButtonDown, this)); Handling ...
- Mon Jun 06, 2011 11:02
- Forum: Modifications / Integrations / Customisations
- Topic: remove keyboard input focus
- Replies: 9
- Views: 9411
Re: remove keyboard input focus
I think that if you add a DefaultWindow that takes the entire screen and add your widgets to that, the DefaultWIndow will steal keyboard focus once you click on it. I haven't tested it but I recall this working for me, hopefully I am not wrong. :) Yeap, that's also what I was trying at first. Of co...
- Fri Jun 03, 2011 21:24
- Forum: Modifications / Integrations / Customisations
- Topic: remove keyboard input focus
- Replies: 9
- Views: 9411
Re: remove keyboard input focus
Hi, got a very similiar problem. I want the input focus to be removed by a user clicking anywhere on the canvas. Currently the focus is only removed when the user clicks on another CEGUI widget like a StaticText or a button. My first approach was to create an invisible dummy sheet which was with Win...