Click here to Skip to main content
15,891,674 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Can anyone tell me why, in an mfc application would the OnHScroll fire twice. I created an app using the wizard and put a trace statement in the OnHSScroll event. It fires twice when I click the scroll button. I would understand multiple firings if I moved the thumbtrack.

The reason why I did this is I was noticing it was firing twice in my application so I created a test application to see if I had done something wrong. It does it right out of the box. That can't be normal. Any help would be appreciated.
Posted
Comments
mohangbits 14-Sep-10 9:34am    
please submit the code..

1 solution

TRACE ("Horizontal Scroll firing\n");

Seriously, take an application, put that code in it. Click on the horizontal scroll button. It fires twice.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900