www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/24/13:44:53

Message-Id: <3.0.32.19961224121328.006a2c4c@dataplusnet.com>
Date: Tue, 24 Dec 1996 12:13:30 -0600
To: djgpp AT delorie DOT com
From: Michael Matczynski <michaelm AT dataplusnet DOT com>
Subject: Allegro 2.0 and Mouse
Mime-Version: 1.0

I have allegro 2.0.  When I write a program that uses the mouse, I run it
in a ms-dos window, I get a message that the program would run better in
MS-DOS mode.  It asks if it should make a shortcut so it always runs in
MS-DOS mode.  There is a yes and no button and when I click no, it works
fine.  Is there anyway to prevent this from happening?

Another question:  Lets say I have a button in the top left corner of the
screen (0,0),(20,20).  How would I program it so that to click the button
you would have to left click and release in the button inside the button
range for it to go.  I have tried a way that tests if it is in the box
range and if the left button is pressed.  Is there a different way?

Thanks.

- Raw text -


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