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);
}
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…