[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
CppVclCustomCursor
Then, in the Form->OnCreate event, use the code:
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
CppVclCustomCursor
(C++ VCL) Making and using a custom cursor
You can make a cursor in 'Tools | Image Editor'.Then, in the Form->OnCreate event, use the code:
const TCursor MyCursor = static_cast<TCursor>(22);
Screen->Cursors[MyCursor] = LoadCursorFromFile("MyCursor.cur");
Cursor = MyCursor;
Form1->Cursor = MyCursor;
Code links
Other links
- ?Making and using a custom cursor using the CLX
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
