Smikkelone
Legacy Member
ik zou een eigen cursor moeten hebben in een Groupbox, maar kan maar niet vinden hoe ik het moet doen.
In de help staat het volgende:
Nu heb ik dit uitgevoerd maar niets veranderd (heb het getest in lege form)
iemand ervaring met dit soort toestanden?
tis borland 6.
In de help staat het volgende:
Code:
This example shows how to add custom cursors to an application. It assumes that a custom cursor with the name NewCursor has been added to the resources (.RES file) of the application. You can add the cursor using the image editor. (Tools | Image Editor)
The following code makes this cursor available to the application via the constant crMyCursor, and sets it as the global cursor to the application.
const crMyCursor = 5;
void __fastcall TForm1::FormCreate(TObject *Sender)
{
Screen->Cursors[crMyCursor] = LoadCursor(HInstance, "NewCursor");
Cursor = crMyCursor;
}
iemand ervaring met dit soort toestanden?
tis borland 6.
