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 » Changing mouse icon with MouseEvent
Re: Changing mouse icon with MouseEvent [message #54800 is a reply to message #54793] Thu, 17 September 2020 09:09 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14257
Registered: November 2005
Ultimate Member
#include <CtrlLib/CtrlLib.h>

using namespace Upp;

#include <CtrlLib/CtrlLib.h>

using namespace Upp;

struct App : TopWindow {
	virtual Image MouseEvent(int event, Point, int, dword) {
		if (event == CURSORIMAGE) 
			return Image::Hand();
		return Image::Arrow();
	}
};

GUI_APP_MAIN
{
	App().Run();	
}
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [GlCtrl] Integration and use of Glad loader instead of Glew
Next Topic: Background color of StaticText or EditString
Goto Forum:
  


Current Time: Mon May 12 22:59:54 CEST 2025

Total time taken to generate the page: 0.01068 seconds