Thread View: alt.msdos.programmer
2 messages
2 total messages
Started by Jason A. Brotherton
Fri, 08 Jan 1993 14:40
Changing the Mouse Cursor to Larger-than-standard-sized Images
Author: 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
Re: Changing the Mouse Cursor to Larger-than-standard-sized Images
Author: Pete Cascio
Date: Mon, 11 Jan 1993 09:18
Date: Mon, 11 Jan 1993 09:18
16 lines
1523 bytes
1523 bytes
In article <3409@bsu-cs.bsu.edu>, jaysen@bsu-cs.bsu.edu (Jason A. Brotherton) writes... >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 > >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'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" Using a sprite is the only way I know in standard VGA modes. XGA does support larger mouse cursors, though.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads