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 » Events outside TopWindow
Events outside TopWindow [message #2658] Thu, 20 April 2006 13:03 Go to next message
mezise is currently offline  mezise
Messages: 54
Registered: April 2006
Member
Example application "Events" only registers events inside TopWindow/Frame.

May application be aware of mouse events outside TopWindow (when window is focused as well as unfucused)?


Re: Events outside TopWindow [message #2660 is a reply to message #2658] Thu, 20 April 2006 13:17 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
mezise wrote on Thu, 20 April 2006 07:03

Example application "Events" only registers events inside TopWindow/Frame.

May application be aware of mouse events outside TopWindow (when window is focused as well as unfucused)?






Well, in fact, not really:) You can track mouse as long as some mouse button is pushed using SetCapture.

Well, you could also use timer and check for mouse position using GetMousePos().

Mirek
Previous Topic: Overwrite PromptOKCancel
Next Topic: How to run timer just a several cycles?
Goto Forum:
  


Current Time: Fri May 03 15:34:27 CEST 2024

Total time taken to generate the page: 0.03485 seconds