I have a program interface, there is a MFC Combobox controls, such as
When I click on the margin of the interface, the mouse wheel rolling in, the value of the Combobox control will change,
Users don't want this, now is to click on the blanks, roll the middle mouse button, Combobox don't response, the focus is not on the control, and should in the margins of window screen,
How to do?
CodePudding user response:
You can set the focus of the Combobox through setfocus (false)