to add coding for GetCursorPoint into iocapctrl.cpp