Make sure that the Vertical Scrolling check box is selected. If the wheel doesn't work in any program that has a scrollable document open (such as Microsoft Edge), make sure that wheel support is enabled. Start Microsoft Mouse and Keyboard Center, and select Wheel. To do this and to follow the additional troubleshooting steps listed below, first visit the Microsoft Mouse and Keyboard Center, select the download version you want to use, and follow the instructions to install it.
You can also disable the wheel button, if you prefer to use the wheel only for scrolling. To resolve the problem, avoid pressing down on the wheel while scrolling. If you want to return to the previous window, press the wheel until that window appears again, or use the Windows taskbar to switch to the window that you want. That's why the active window seems to disappear, but it's actually still open on your desktop. Sometimes while scrolling, you might accidentally press the wheel and unintentionally switch to another open program. Pressing the wheel switches to other open programs on your desktop.
You can use the mouse wheel to scroll, and you can also use it as a button. When I rotate the wheel, my window sometimes disappears