Positioning the Mouse Pointer ----------------------------- There are times where you may find it handy to be able to programmatically move the mouse pointer to a specific screen coordinate. You can use a Windows API function to do this. The directions that follow are for Authorware 4. You'll have to modify these steps slightly to load the function in earlier versions of Authorware. 1. Pull down the Window menu. Select Functions. 2. Pull down the Category list in the Functions dialog box and select the name of your application. 3. Click Load, then locate and select \windows\system\user32.dll 4. In the dialog that appears fill in: (a) "SetCursorPos" in the function name; (b) "word,word" for the arguments; (c) "void" for the return value; and, (d) "SetCursorPos(x,y)" for the description. Don't enter the quotes! You can now call SetCurosrPos(x,y) in a calc icon. Be aware that x and y are relative screen pixel coordinates. To move the cursor relative to the Authorware presentation window, use Authorware's internal WindowLeft and WindowTop variables: SetCurosrPos(WindowLeft + x, WindowTop + y)