Scolring - Forum

Entraides et échanges autour de la technologie Scol - Informations and exchanges on the Scol technology

Vous pouvez changer la langue de l'interface une fois inscrit - You can change the language once registered

You are not logged in.

#1 29-Oct-2024 03:55:47

hebdemnobad
Member
From: northamerica
Registered: 20-Apr-2011
Posts: 1,543
Website

is there anway you can get an objwindow to constantly xy data

say i have a mouse that is not moving...

1. does the 2d api have any callback function by which I can get the xy position of the cursor if it is stationary, like say i start up a scol app and have not moved the cursor yet?

2. or do i always have to move the cursor first so as to trigger the xy information of the cursor with the objwindow> _CBcursorMove callback?

thanks !
-Dan

Offline

#2 29-Oct-2024 09:04:37

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,162
Website

Re: is there anway you can get an objwindow to constantly xy data

Hello, you can get the mouse cursor position in screen : _GETscreenPos
https://www.openspace3d.com/scoldoc/_getscreenpos.html

Offline

#3 3-Nov-2024 21:13:58

hebdemnobad
Member
From: northamerica
Registered: 20-Apr-2011
Posts: 1,543
Website

Re: is there anway you can get an objwindow to constantly xy data

arkeon wrote:

Hello, you can get the mouse cursor position in screen : _GETscreenPos
https://www.openspace3d.com/scoldoc/_getscreenpos.html

Thx

Offline

Board footer

Powered by FluxBB