使用自己的设计的光标必须将cursor:=100?
const
crMyCursor = 100;
var
MyIcon: TIcon;
procedure TForm1.FormCreate(Sender: TObject);
begin
application.icon:= LoadIcon(hInstance, MAKEINTRESOURCE('myicon'));
Screen.Cursors[crMyCursor] := LoadCursor(hInstance, MAKEINTRESOURCE('mycursor'));//cursors[100]
Memo1.Cursor := crMyCursor;//crMyCursor:=100
end;
为什么要选择100?
[解决办法]
no
只要大于0即可。