it's been like this for ages - maybe even since the
original 16bit version.

ISTR thinking that the IDE completely regenerates 
the application resource file on the fly during 
a build (so you can't have anything in there except
form resources and the application icon) - but i'm 
not sure why i came to suspect this.

(in other words - no, have no idea :) )



-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 08:13
Subject: RE: Re: [DUG]: Application Specific Cursors


Any idea why you can't use the application resource file?

Dave.

-----Original Message-----
From: Nello Sestini [mailto:[EMAIL PROTECTED]
Sent: Thursday, 12 June 2003 12:50 p.m.
To: Multiple recipients of list delphi
Subject: Re: [DUG]: Application Specific Cursors


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/
---------------------------------------------------------------------------
    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