Implenting Keyboard support in windows forms

  • Thread starter Thread starter Tech Student via .NET 247
  • Start date Start date
T

Tech Student via .NET 247

(Type your message here)

I need to implement functionality to support functionkeys(F1..F12) and shortcut keys(example Ctrl R) in windowsforms.User will use just the key board to access and navigatethe forms, User will not use mouse.If any one has anysuggestions can you please let me know.

Note:I tried KeyPressed events. it seems i can't capture thefunction keys or the modifier keys with this event.
Note: i tried to use ProcessCmdKey. I am not able to capture thecombination key strokes like "Ctrl F")

Thanks
 
Hello Tech Student via .NET 247,


You can add shortcut commands to your MenuItems... Look in the property browser...
 
Matt,

Thanks for the reply,

I am not using any menus. I am trying to simulate functionality as the old
applications.

example:I will have a button with text (GO)F4, the user with out clicking
the button should able to click "F4" and we should able to raise an event to
process.

Thanks

Matt Berther said:
Hello Tech Student via .NET 247,


You can add shortcut commands to your MenuItems... Look in the property browser...
 
Back
Top