自定义鼠标
我用image Editer 新建了一个cur图标,然后将他设置成鼠标,但是我发现这样的鼠标会显示在某些控件的后面,被挡住了,怎么让他始终置前?
const TCursor crMyCustomCursor = 1;
AnsiString path = ExtractFilePath(Application->ExeName);
AnsiString MyCur = path + "Cursor1.cur";
Screen->Cursors[crMyCustomCursor] = LoadCursorFromFile(MyCur.c_str());
Screen->Cursor = crMyCustomCursor;