U++ framework
Do not panic. Ask here before giving up.

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: 14291
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: Sun Sep 20 04:39:39 GMT+2 2026

Total time taken to generate the page: 0.00827 seconds