用Delphi生成的文件总是有很多自带的默认资源,我想这个应该是存放在某个文件里面的吧?我觉得那个HandPoint的光标实在过于丑陋,想自行替换,不知道是在哪一个文件里呢?

解决方案 »

  1.   

    C:\Program Files\Borland\Delphi5\lib、controls.res
    应该是你需要的。
      

  2.   

    Controls.res中,我没改过,建议你也不要改,用另外的附加资源文件吧。
      

  3.   

    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;
    procedure TForm1.FormCreate(Sender: TObject);
    begin
      Screen.Cursors[crMyCursor] := LoadCursor(HInstance, 'NewCursor');
      Cursor := crMyCursor;
    end;