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?
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?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货