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++ Library : Other (not classified elsewhere) » More GLCtrl
Re: More GLCtrl [message #18777 is a reply to message #18775] Mon, 20 October 2008 21:01 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14263
Registered: November 2005
Ultimate Member
kodos wrote on Mon, 20 October 2008 14:02

Ok, I have tested the new code and it works great so far except that there are no more events on the GLCtrl itself Smile

I have fixed the mouse events with the following code:
virtual Image MouseEvent(int event, Point p, int zdelta, dword keyflags) { return ctrl->MouseEvent(event, p, zdelta, keyflags); }

in the GLPane class. But I haven't found a function like that for the key events, and I don't know if I broke something else Smile


Ops, correct. Hopefuly fixed (check soon). (You forget to translate for view offset, BTW...)

I think keyboard input can be effectively solved by adding "NoWantFocus" to GLPane constructor (there is no way how GLPane could get focus after that point...).

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: why not state oriented?
Next Topic: Writes to freed blocks detected
Goto Forum:
  


Current Time: Sat Jun 28 10:57:15 CEST 2025

Total time taken to generate the page: 0.04663 seconds