realbasic-nug
[Top] [All Lists]

custom cursors

To: "REALbasic NUG" <realbasic-nug@lists.realsoftware.com>
Subject: custom cursors
From: "Peter K. Stys" <pkstys@gmail.com>
Date: Sat, 30 Aug 2008 22:11:47 -0600
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com; dkim=neutral (body hash did not verify) header.i=@gmail.com
Delivered-to: listarchive@realsoftware.com
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=v72R8jWAryRgcP8LUDzqKU8dLI+5qY5Ty0wkRL2evu8=; b=x3Y89bfRX25Lt5LMhD5Ngiol2G4ZDAq5Ld2wcomj/5veV9qqylQofqiW3InW0bw59B H57mEsBwjphGsHAEcWctX8g7B0o3Jt4lSLkzEX7KsU8pnRpzbPxvJ7QCjBqkZ4ittUGL V//diPnoBC2Y5zBlH30IYQJj7qhZnswLdwTLs=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=I3mepxa+7gGybyrbVW8ysCnrapq8JLsj1ABDh6dPYxi+Rt40aEqZ07XkYjPnrNDRII YhWBVx7TA0fxMWyNt1lCJBBOlFOK0Dh6NE6ZezTb4XAxvcYEw5XT4OhrJNsdzmO2zEq0 2knlulnR0groxHzX9MF9LEyPim/79g2aAEJd0=
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
The only way I know of to create one is to use Rezilla to make a crsr
resource, then read in the cursor when you need it using the resource ID you
assigned to it, e.g.:
self.imageCanvas.mouseCursor = App.ResourceFork.GetCursor(679)

But resource forks will be phased out at some point.  So how does one
"properly" create custom cursors that will remain future-proof?

Seems like a fairly essential and basic requirement.

Peter.

-- 
---------------------------------------------
Peter K. Stys, MD
Dept. of Clinical Neurosciences
Hotchkiss Brain Institute
University of Calgary
tel (403) 210-8646
---------------------------------------------
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>