jmidili@hub.cs.jmu.edu (jeff midili) (11/28/90)
What are the different cursors that can be set with SetCursor() ?
Specifically I'd like one that looks like a gun-sight or something
like |
- -
|
can you make a cursor as a resource?
thanks,
Jeff Midili
jmidili@hub.cs.jmu.edu
this is only a test...
aland@chaos.cs.brandeis.edu (Alan D Danziger) (11/29/90)
What are the different cursors that can be set with SetCursor() ?
Anything you like... Just build it with ResEdit and install it into
your program. I think there's a size limit (number of pixels) but
that's the only caveat. You just draw it and then pick the 'hot spot'.
Specifically I'd like one that looks like a gun-sight or something
like |
- -
|
No problem!
can you make a cursor as a resource?
Yes. Use Resedit, curs resource, and use the editor which comes up...
(pre-2.0bx, as I've never tried it with 2.0bx)
--
---=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=---
Alan D. Danziger, | 753 South St,Waltham MA 02154 | "Licensed
aland@chaos.cs.brandeis.edu | MB 3130 / Brandeis University | to
(617) 894-6859 | PO Box 9110 Waltham MA 02254 | Program"
---=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=---
stevec@Apple.COM (Steve Christensen) (11/29/90)
jmidili@hub.cs.jmu.edu (jeff midili) writes: >What are the different cursors that can be set with SetCursor() ? >Specifically I'd like one that looks like a gun-sight or something >like | > - - > | > >can you make a cursor as a resource? The Mac can have pretty much as many cursors as you'd like. It supports 5 "standard" cursors: arrow i-beam (used when editing text) cross (for graphics--also shows up in the Control Panel) plus (a bulky cross cursor--for selecting cells in spreadsheets, etc) watch (for waiting) You can create your own cursors for use by an application you've written (As an example). ResEdit lets you graphically create a new cursor or make changes to an existing one... steve -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ whoami? Steve Christensen snail: Apple Computer, 20525 Mariani Ave, MS-81CS, Cupertino, CA 95035 internet: stevec@apple.com AppleLink: stevec CompuServe: 76174,1712