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 » Community » Newbie corner » How to compare child in function virtual void ChildMouseEvent with ctrl’s value.
Re: How to compare child in function virtual void ChildMouseEvent with ctrl’s value. [message #27607 is a reply to message #27605] Sun, 25 July 2010 17:52 Go to previous messageGo to previous message
281264 is currently offline  281264
Messages: 272
Registered: June 2010
Location: Spain
Experienced Member
Here it goes. The function in question belongs to “main.cpp”. The target is to determine whether “child” is “gl” (this is the OpenGL object), and therefore to be able to rule out/accept some further actions (for instance, to show cursor’s coordinates ONLY when mouse hovers over gl, etc..).

Thanks. Cheers.

Javier
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Usage of images in different .h and .cpp files
Next Topic: Drag of mouse while left button is pressed.
Goto Forum:
  


Current Time: Sun Jun 22 13:42:43 CEST 2025

Total time taken to generate the page: 0.04632 seconds