MessageBox .NET Compact Framework version 1.1

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want to associate mobile device ENTER key to "Yes" button and ESC key to
"No" button in a MessageBox with YesNo buttons. Can somebody provide a sample
code on how to do it?

Thanks,
 
You'd have to write your own Form that looked like a messagebox and handle
key presses. That or write and install a new keyboard driver that maps the
enter to Y and the escape to N. Other apps might not like that so well.
 
Back
Top