Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site











SourceForge.net Logo

CursorOverride

 

Temporarily overriding the mouse cursor shape

 

 

main.cpp

 

#include <CtrlLib/CtrlLib.h>

 

using namespace Upp;

 

struct App : TopWindow {

    virtual void LeftDown(Point, dword) {

        Image m = OverrideCursor(CtrlImg::exclamation());

        Sleep(1000);

        OverrideCursor(m);

    }

};

 

GUI_APP_MAIN

{

    App().Run();

}

 

 

 

 

Do you want to contribute?