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 » Is there a way to get desktop mouse coordinates? (Displaying desktop mouse position)
Re: Is there a way to get desktop mouse coordinates? [message #59869 is a reply to message #59868] Sun, 14 May 2023 10:31 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14260
Registered: November 2005
Ultimate Member
Yes.

GUI_APP_MAIN
{
	TopWindow win;
	Label lbl;
	win << lbl.SizePos();
	TimeCallback cb;
	cb.Set(-20, [&] { lbl = AsString(GetMousePos()); });
	win.Execute();
}
 
Read Message
Read Message
Read Message
Previous Topic: Linux Mint installation issue
Next Topic: Getting the value/text from a EditField
Goto Forum:
  


Current Time: Tue Jun 03 01:44:11 CEST 2025

Total time taken to generate the page: 0.02537 seconds