Article View: alt.msdos.programmer
Article #1093Changing the Mouse Cursor to Larger-than-standard-sized Images
From: Jason A. Brotherton
Date: Fri, 08 Jan 1993 14:40
Date: Fri, 08 Jan 1993 14:40
29 lines
1703 bytes
1703 bytes
Hello fellow programmers, Obviously, I have a question. :) What I want to do is change the mouse cursor, not to a hand or anything, I can do that, but rather to various LARGER objects than the standard mouse pointer allows. The easiest way to explain this would be your standard joe-paint program...when you click on various icons, the mouse cursor changes to say, a pencil, or some other paint-oriented object that is larger than the standard 16x16 pixels. I've been using int33, function 9 to change the cursor, but as you know, that's limited to 16x16. Is there some way to create larger cursors, or will I have to turn off the regular mouse cursor and manually move a sprite by reading the mouse's x-y coordinates and drawing/erasing it at that position? (sprite being my terminology for a small bitmapped image...from the C-64 days!) I haven't tried doing that, but it's gotta be SLOW... I'm programming in Borland C++ v3.0 using a 386-25, using the standard VGA modes, running and programming for DOS, and using as a reference, "Microsoft Mouse Programmer's Reference" Any suggestions/ideas would be appreciated. :) Jason Brotherton jaysen@bsu-cs.bsu.edu
Technical Details
Message-ID:
<3409@bsu-cs.bsu.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!usc!sdd.hp.com!news.cs.indiana.edu!bsu-cs!jaysenShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!usc!sdd.hp.com!news.cs.indiana.edu!bsu-cs!jaysen From: jaysen@bsu-cs.bsu.edu (Jason A. Brotherton) Newsgroups: alt.msdos.programmer,comp.os.msdos.programmer,comp.sys.ibm.pc.programmer Subject: Changing the Mouse Cursor to Larger-than-standard-sized Images Keywords: mouse, ibm, programming Message-ID: <3409@bsu-cs.bsu.edu> Date: 8 Jan 93 14:40:56 GMT Distribution: usa Organization: CS Dept, Ball St U, Muncie, Indiana Lines: 29