PDA

View Full Version : Hide Mouse



Sneeze
02-06-2004, 10:45 AM
im trying to hide the mouse just for the intro of my project but it doesent seems to work.
What do i wrong?

OnPreload:

result = DLL.CallFunction("%SysDir%\\User32.dll", "ShowCursor", "0", DLL_RETURN_TYPE_INTEGER, DLL_CALL_CDECL);

thanks for tips

TJ_Tigger
02-06-2004, 12:33 PM
If you are using AMS5 you will need to use the new Global Variable for the System folder

In AMS4 it is %SysDir%

in AMS5 it is _SystemFolder

Click Here for more info (http://www.indigorose.com/webhelp/ams50/Program_Reference/Variables/Global_Variables.htm)

Sneeze
02-06-2004, 12:55 PM
oops...

thank you