Skip to content

Latest commit

 

History

History
45 lines (24 loc) · 917 Bytes

CppBuilderCustomCursor.md

File metadata and controls

45 lines (24 loc) · 917 Bytes

 

 

 

 

 

 

A C++ Builder FAQ about how to use a custom cursor in C++ Builder.

 

You can make a cursor in 'Tools | Image Editor'.

 

Put the code below in your Forms's constructor.

 


const TCursor c = static_cast<TCursor>(22); //22 is by default an unused index Screen->Cursors[c] = LoadCursorFromFile("MyCursor.cur"); this ->Cursor = c;