*****************************************************************************************
*                                    IMP Mouse Control DLL v2.0                                            *
*****************************************************************************************
                                                                                                                                *
This DLL was made by IceMetalPunk in C++, and compiled by DevC++.    *
                                                                                                                                *
*************************************************************************************************************************************************************************************************************************************

Overview:

With this DLL, you can set the mouse position, click any mouse button, scroll the mouse wheel, and drag/drop, all from within your GM game.

************************************************************************************************************************************************************************************************************************************
Function List:

IMC_define(): This script defines all the other functions, and MUST be called before any of the other IMC scripts are called.

IMC_left_click(): Simulates a left-click at the current mouse position.

IMC_right_click(): Simulates a right-click at the current mouse position.

IMC_click_at_point(x,y,lr): Simulates a left or right click at point (x,y). lr should be either 1 (meaning right-click) or 0 (meaning left-click).

IMC_set_pos(x,y,relative): Sets the cursor position to (x,y). relative should be either 1 (meaning the position is relative to the GM window) or 0 (meaning it is absolute on the screen).

IMC_scroll_wheel(ud): Simulates the mouse wheel moving up or down. ud is either 1 (up) or 0 (down).

IMC_dragdrop(x1,y1,x2,y2,lr): Simulates a mouse drag-drop from (x1,y1) to (x2,y2) without moving the cursor. lr specifies whether to use the left or right mouse button in this event (left=1, right=0).

IMC_middle_click(): Simulates a middle-button click at the current mouse position.

*********************************************************************************************************************************************************************************************************************************

Credits:

I do not REQUIRE credits for the use of this DLL in any GM game/program. However, it would be nice.... :)

*********************************************************************************************************************************************************************************************************************************