Gigan
Jul 29 2009, 12:43
I found the one that seemed problem in setMousePosition command.
The mouse position set by using setMousePosition command might be different from the mouse position acquired in the dialog and mouse event handler.
When 3D Resolution and Interface size are changed from the default, the different situation is caused.
Verification:
createDialog and ctrlSetEventHandler (mouse handle)
setMousePosition [1.0,1.0]
The mouse position is acquired and displays it.
3D Resolution (100%)
http://img229.imageshack.us/img229/1913/setmouse01.jpg
This is normal.
3D Resolution (50%)
http://img233.imageshack.us/img233/9049/setmouse02.jpg
The acquired mouse position is different :(
The mouse position set by using setMousePosition command might be different from the mouse position acquired in the dialog and mouse event handler.
When 3D Resolution and Interface size are changed from the default, the different situation is caused.
Verification:
createDialog and ctrlSetEventHandler (mouse handle)
setMousePosition [1.0,1.0]
The mouse position is acquired and displays it.
3D Resolution (100%)
http://img229.imageshack.us/img229/1913/setmouse01.jpg
This is normal.
3D Resolution (50%)
http://img233.imageshack.us/img233/9049/setmouse02.jpg
The acquired mouse position is different :(