Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
How to apply my own cursor automatically in all forms??
Please help me!!! I would like to know how to apply my own cursor as a default cursor for every application in every forms that i have created?? I had apply below programming codes for each form of my project but when it comes to speedbar panel and it buttons' area, the cursor turn to be the c++ builder default cursor (not my own cursor). May anyone tell me why???What should i do??
Programming codes which i have used:
const TCursor MySyringeCursor = static_cast(22);
Screen->Cursors[MySyringeCursor] = LoadCursorFromFile ("MySyringeCursor.cur");
Cursor = MySyringeCursor;
MainForm->Cursor = MySyringeCursor;