www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/10/04/16:59:54

From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Problem
Date: 4 Oct 2000 18:46:41 GMT
Organization: Aachen University of Technology (RWTH)
Lines: 22
Message-ID: <8rftuh$epe$1@nets3.rz.RWTH-Aachen.DE>
References: <005201c02e32$13befca0$5c7536ca AT a>
NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de
X-Trace: nets3.rz.RWTH-Aachen.DE 970685201 15150 137.226.32.75 (4 Oct 2000 18:46:41 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 4 Oct 2000 18:46:41 GMT
Originator: broeker@
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Siddhu. <siddhu AT loveable DOT com> wrote:

> I am making a BMP editor for our school project in TC++30. I managed
> to get 640x480x256color working using interrupts. Well when i used
> 16 color mode MOUSE was visible, Now when i switched to 256 color
> mode MOUSE is not visible even after calling int 33h for showing
> mouse ptr. 

DOS Mouse drivers usually don't know how to handle any graphics above
the traditional VGA and MCGA standard ones (640x480x16 or 320x200x256)
--- they have no idea at all how to draw a mouse pointer, there.

In all SVGA modes, you're on your own. You have to use int33h to
collect information about movement of the mouse, and draw your mouse
pointer symbol yourself.

You might be better off using GRX (also available for TurboC++, I
think), instead. IIRC, it supports drawing mouse pointers in all
supported modes.
-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019