www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/23/19:30:44

Newsgroups: comp.os.msdos.djgpp
Date: Wed, 23 Apr 1997 19:22:37 -0400 (EDT)
From: Laszlo Vecsey <master AT internexus DOT net>
To: rellwood <rellwood AT aludra DOT usc DOT edu>
cc: djgpp AT delorie DOT com
Subject: Re: Mouse past edge of screen question
In-Reply-To: <Pine.SV4.3.94.970423100448.26246A-100000@aludra.usc.edu>
Message-ID: <Pine.LNX.3.96.970423192036.15622A-100000@micro.internexus.net>
References: <Pine DOT SV4 DOT 3 DOT 94 DOT 970423100448 DOT 26246A-100000 AT aludra DOT usc DOT edu>
MIME-Version: 1.0

On 23 Apr 1997, rellwood wrote:

> 
> For a particular problem that I am trying to solve, I want to set the
> boundry of the area that the mouse can scroll larger then the area of the
> screen.  I'm using Allegro's mouse functions, but the one function that I
> would think should do it, set_mouse_range(int, int, int, int), only seems
> to be capable of setting the mouse range *smaller* then the screen, not
> bigger.
> 
> Any ideas on this?

One way to do it would be to use mouse ticks instead, and compute your own
logical offset that way. "mouse mickey's" I believe they're called. Why
exactly do you need to do this? Perhaps with some more details someone can
suggest a better solution. 

- lv

- Raw text -


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