#include <CtrlLib/CtrlLib.h> using namespace Upp; struct App : TopWindow { bool showHand = false; virtual void LeftDown(Point, dword) {showHand = true;} virtual void LeftUp(Point, dword) {showHand = false;} virtual Image CursorImage(Point, dword) { if (showHand) return Image::Hand(); else return Image::Arrow(); } }; GUI_APP_MAIN { App().Run(); }
Report message to a moderator