I have a Windows Forms application with a toolbar that contains buttons. Disappointingly, I have to double-click on any button so that it lights up when the shape is not focused. The first click seems to activate the form, and then the second click presses the button (alternatively, I can click anywhere on the form and then click the button once). How can I fix this, so that even if the form is not activated, I can click directly on the button?
EDIT: I feel this should be feasible as it works in programs such as SQL Server Profiler and Visual Studio (not to use WinForms, but this suggests that this is not an OS problem).
c # winforms focus toolstrip
ChaseMedallion
source share