Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » UppHub » FTGL_Demo WantFocus();
FTGL_Demo WantFocus(); [message #41749] Thu, 16 January 2014 18:44 Go to next message
koldo is currently offline  koldo
Messages: 3355
Registered: August 2008
Senior Veteran
Hello Massimo

Now FTGL_Demo does not get keys because GLCtrl is constructed with NoWantFocus().

Just adding WantFocus() in FTGLCtrl constructor solves the issue.


Best regards
IƱaki
Re: FTGL_Demo WantFocus(); [message #41876 is a reply to message #41749] Sun, 02 February 2014 19:00 Go to previous message
mdelfede is currently offline  mdelfede
Messages: 1307
Registered: September 2007
Ultimate Contributor
It had another problem because of changes in GLCtrl, at least in Linux.... The Refresh() command don't do a refresh at all, you need RefreshLayout now.
Don't know why, and I don't know either why the GlCtrl was changed adding a panel inside it.

Anyways, I added a RefreshLayout call inside FTGLDemo.

Ciao

Max
Previous Topic: freeype package renamed
Next Topic: [BUG] Heap leak in SysExec package
Goto Forum:
  


Current Time: Fri Mar 29 14:43:18 CET 2024

Total time taken to generate the page: 0.01593 seconds