Board index » delphi » Mouse under Speed Pascal for OS/2?

Mouse under Speed Pascal for OS/2?

Can anyone tell me how to read the mouse within a
TEXT-BOX under OS/2 using Speed Pascal version 1.5?
Sadly, interrupt 33 is not supported as in DOS.

There seem to be examples of how to do it in a
Presentation Manager window, but I can't find an
example for text-box usage.  

Please reply to newsgroup or email address below.
Thanks for any help you can provide,

Prof Jeff Miller
Dept of Psychology
Univ of Otago
Dunedin, New Zealand
mil...@otago.ac.nz    http://jomserver.otago.ac.nz/

 

Re:Mouse under Speed Pascal for OS/2?


Quote
mil...@nowhere.com wrote:

> Can anyone tell me how to read the mouse within a
> TEXT-BOX under OS/2 using Speed Pascal version 1.5?
> Sadly, interrupt 33 is not supported as in DOS.

You have to use the VIO-calls (unit BseSub).
An VIO-api reference should be available at http://www.ndrh.de/~speed.

Bye
Jens

--
-----------------------------------------------------------
Jens Schiffler
for e-mail replies please edit my "reply-to" address
and change the domain name into "student.uni-augsburg.de"
-----------------------------------------------------------

Re:Mouse under Speed Pascal for OS/2?


Re:Mouse under Speed Pascal for OS/2?


In a message dated 06-30-98, mil...@nowhere.com said to All about Mouse
under Speed Pascal

m>Can anyone tell me how to read the mouse within a
m>TEXT-BOX under OS/2 using Speed Pascal version 1.5?
m>Sadly, interrupt 33 is not supported as in DOS.

m>There seem to be examples of how to do it in a
m>Presentation Manager window, but I can't find an
m>example for text-box usage.

By "text-box" I presume you mean a command line session.

To use the mouse in a non-GUI program you will need to use the Mou...() API
calls. These are supported by Speed Pascal/2 through a thunk layer. They are
documented in SpeedSoft's on-line documentation. AFAIK, there is no
encapsulation of these API's in SpeedSoft's port of OWL; you will need to
call them explicitly.

Regards

Dave
<Team PL/I>
___
 * MR/2 2.25 #353 * Windows 95 fixpak #1: install OS/2

Other Threads