Board index » delphi » 3d Cursor Movement

3d Cursor Movement

I`m writing an 3D-Application and want to Control the Cursormovement by my
Application.
I need to do this because if the [Shift] Button is down the Mousecursor
should be moved
in (z)-Direction. To tried to solve this problem with the methods
SetCursorPos and Mouse.CursorPos, but these Methods weren`t as exact for my
application as the should.

Perhaps somebody knows how i could read Mouseactions and how to set the
Cursor on my own.

Thanx for each help

Christian

 

Re:3d Cursor Movement


Quote
On Sat, 7 Jul 2001 21:59:26 +0200, "cworn" <cw...@pgcenter.de> wrote:
>I`m writing an 3D-Application and want to Control the Cursormovement by my
>Application.
>I need to do this because if the [Shift] Button is down the Mousecursor
>should be moved
>in (z)-Direction.

Doesnt sound like a good choice, but i dont know how your app looks
like. What one usually do is to just use the mouse normally to select
an object/vertex/whatever. The, when holding down shift, you move the
object, without showing the cursor.

However, if you want to move the cursor, id say the best way would be
to it yourself. Turn off the cursor in the form, and draw one
manually, then you can have it where youd want it to be. Use
OnMouseDown and OnMouseMove for that.

- Asbj?rn

Other Threads