Mouse scroll wheel
-
I have a CFormView with several pages. For some reason, if I use the mouse wheel, a page will scroll up and down using the mouse wheel. For other pages, the mouse wheel doesnt work. I have studied the 2-pages ad nausem and I cant figure out what is different from one page to the other; why one page uses the mouse wheel and the other doesnt. Any ideas? Any direction any one can give me will be greatly appreciated. Sincerely, Danielle Brina (an overworked graduate student)
-
I have a CFormView with several pages. For some reason, if I use the mouse wheel, a page will scroll up and down using the mouse wheel. For other pages, the mouse wheel doesnt work. I have studied the 2-pages ad nausem and I cant figure out what is different from one page to the other; why one page uses the mouse wheel and the other doesnt. Any ideas? Any direction any one can give me will be greatly appreciated. Sincerely, Danielle Brina (an overworked graduate student)
Check if your CFormview still owns the scrollbar. If not, no scrolling. Also there is a bug in MFC 7.1 and 8.0 which can cause this behaviour. If all else fails implement your own ::OnMouseWheel.
-
I have a CFormView with several pages. For some reason, if I use the mouse wheel, a page will scroll up and down using the mouse wheel. For other pages, the mouse wheel doesnt work. I have studied the 2-pages ad nausem and I cant figure out what is different from one page to the other; why one page uses the mouse wheel and the other doesnt. Any ideas? Any direction any one can give me will be greatly appreciated. Sincerely, Danielle Brina (an overworked graduate student)
Normally the View should scroll by default. Mostly you have such problem when you have some control over the form, you will need to handle Scroll messages in the control in this case.I can scroll with the wheel in a CFormView application. If no controls is placed in your form too, then I suggest you to try your application on a different machine, see if there is any changes?