I have several buttons that when clicked I don't want them to get focus nor do I want the space bar to 'press' them again.
I want the same functionality as the buttons in windows calculator.
Googled and searched stack everything seems to be about forms eg. Make a form not focusable in C#
I know I'm supposed to rewrite WndProc but not exactly sure how to proceed as to what messages I should catch/ignore etc. As far as I got:
Код: Выделить всё
protected override void WndProc(ref Message m) { base.WndProc(ref m); } Источник: https://stackoverflow.com/questions/674 ... s-on-click
Мобильная версия