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 » U++ Library support » U++ Widgets - General questions or Mixed problems » GLCtrl don't have Key() method wokring
Re: GLCtrl don't have Key() method wokring [message #52981 is a reply to message #52980] Tue, 28 January 2020 12:37 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Xemuth wrote on Tue, 28 January 2020 11:45
Thanks Mirek for having solve my problem,

Another quick question, if the Ctrl didn't had focus before, why mouse event where working fine ? Isn't Mouseevent supposed to require focus ?

Thanks in advance,
Best Regard.

Xemuth


No, focus is just for keyboard.

BTW, things were a little bit complicated, the real reason why your code was not working outright was NoWantFocus flag in GLCtrl. That prevented TopWindow to assign focus to it on open. I had decided to remove this flag, so your original code would work as is.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [SOLVED] Dual GlCtrl in one frame ?
Next Topic: [SOLVED]Removing glaux lib from GLctrl
Goto Forum:
  


Current Time: Sun May 05 08:19:04 CEST 2024

Total time taken to generate the page: 0.01474 seconds