I'm using xds Win32 which has a module MsMouse in the topspeed
compatibility pack. >However, it wasn't part of the original topspeed
as far as I'm aware and I can't find any documentation about how to
use the modules other than in the definition file. Has anyone used
MsMouse? Thanks for any help.
On 2023-05-31 06:32, Jack Dawkins wrote:Thanks for the links. I'll try posting a new issue asking for docs or an example using the module. I've had some success using the GetPress procedure but it's not working the way I expected. I'll post the code later.
I'm using xds Win32 which has a module MsMouse in the topspeed compatibility pack. >However, it wasn't part of the original topspeedIt appears, from the XDS source to the TSCP documentation (https://github.com/excelsior-oss/xds/blob/cfd20e209193c9cfcee94ad2ca30d8c32ead48c9/Sources/Doc/Comp/src/tscp.tex),
as far as I'm aware and I can't find any documentation about how to
use the modules other than in the definition file. Has anyone used
MsMouse? Thanks for any help.
that they meant to include documentation but never did. (The header
appears to contain a to-do list that includes MsMouse.)
The actual implementation, if of any help, is here: https://github.com/excelsior-oss/xds/blob/cfd20e209193c9cfcee94ad2ca30d8c32ead48c9/Sources/Lib/src/TSlibs/Win32/MsMouse.mod
O.F.
I'm using xds Win32 which has a module MsMouse in the topspeed compatibility pack. However, it wasn't part of the original topspeed as far as I'm aware and I can't find any documentation about how to use the modules other than in the definition file.Has anyone used MsMouse? Thanks for any help.
On Wednesday, May 31, 2023 at 8:02:49 PM UTC+9:30, Jack Dawkins wrote:Has anyone used MsMouse? Thanks for any help.
I'm using xds Win32 which has a module MsMouse in the topspeed compatibility pack. However, it wasn't part of the original topspeed as far as I'm aware and I can't find any documentation about how to use the modules other than in the definition file.
MsMouse was in v3.1 of TopSpeed Modula-2 and is documented in the Reference Manual. The source code of the module was included but I can't find any example code.
Thanks Chris. I found some code (see URL below) which explained why my first attempt wasn't working properly. When using GetPress the actions variable is set to 1 once after a click, so you need to check for this otherwise whatever you want to happenafter a click will keep occurring until the next click.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (3 / 13) |
Uptime: | 35:58:12 |
Calls: | 10,392 |
Calls today: | 3 |
Files: | 14,064 |
Messages: | 6,417,151 |