TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Peter Fitzsimmons
from: Paul Rider
date: 1995-05-09 18:56:58
subject: TimeSlices ??

PF> ahh; the friggen mouse.  I know squat about DOS mouse 
 PF> programming;perhaps you ARE stuck with a spin loop if 
 PF> you have to check two devices. What you really need 
 PF> here is two threads,  so that they could both be 
 PF> blocked on their respective devices -- so you're just 
 PF> going to have to port your program to OS/2 .

. I'm in the middle of doing that... The previous mentioned
code was/is part of a dos text-user-interface. I'm porting this to Os/2 as
I can't (don't have to since it's mine ) get along without it...
Here's where I'm stuck, 'I don't know squat' (to quote you) about mouse
programming under os/2... Could you maybe post a very short sample program
that would say print the mouse coordinates on the screen whenever the
mouse's left button was pressed ? (Text mode) This is frustrating me..
Also, where would I look for further information on Mouse programming
(Os/2)
btw, mouse programming in Dos is usually accomplished in asm calling int 033h. 
with apropriate function call number in axYou are returned x,y, and button
status in ax,bx,cx (basic case)..
        Thanks for you previous input.
                Paul Rider...

--- Maximus/2 2.02
* Origin: Rodent! Bbs ( Os/2 ) (1:163/427)
SEEN-BY: 105/42 620/243 711/401 409 410 413 430 807 808 809 934 955 712/407
SEEN-BY: 712/515 628 704 713/888 800/1 7877/2809
@PATH: 163/427 335 307 99 12/12 3615/50 396/1 270/101 105/103 42 712/515
@PATH: 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.