Great thanks everyone. You are stars.
My mouse is a cheap logitech one, by I managed to assign the wheel left click as num 7 and the wheel right click as num 9 and it does the trick.
The right mouse botton hold and pan trick doesn't work on my mouse. It only changes the weapon to the secondary one and back.