/* Mouse Wheel is being rolled forward \r
* Play moves forward\r
*/\r
- if((short)HIWORD(wParam) > 0 ) ForwardEvent();\r
- /* Mouse Wheel is being rolled backward \r
- * Play moves backward\r
- */\r
- if((short)HIWORD(wParam) < 0 ) BackwardEvent();\r
+ if ((short)HIWORD(wParam) > 0) \r
+ if (forwardMostMove > 0 && currentMove != forwardMostMove)\r
+ ForwardEvent();\r
+ /* Mouse Wheel is being rolled backward \r
+ * Play moves backward\r
+ */\r
+ if ((short)HIWORD(wParam) < 0) \r
+ if (currentMove > 0) BackwardEvent();\r
break;\r
case WM_MBUTTONDOWN:\r
case WM_RBUTTONDOWN:\r