Put your cursor is in a win32 RES file called
RES32.RES (where RES32 is NOT the name of your project
file) and add this line:

{$R RES32.RES}

to the .dpr file (after the "uses")



-ns
http://www.roserox.co.th

----- Original Message -----
From: "David O'Brien" <[EMAIL PROTECTED]>
To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]>
Sent: Thursday, June 12, 2003 07:14
Subject: [DUG]: Application Specific Cursors


I have created a cursor in an application resource file using the Image
Editor, as per the help.
const
  crMyCursor = 5 ;

Screen.Cursors[crMyCursor] := LoadCursor(HInstance, 'SIGHTCURSOR');

But this always returns 0.

Any ideas why this doesn't work?

Cheers,
Dave.
Sorry I have no comments to make about AV.
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to