Space or enter may activate the selected button in your app.
You should add code to your forms keypreview event call your function and set e.handled=true to keep the button from being processed in another manner.
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 5 of 5
Threaded View
|
Click Here to Expand Forum to Full Width |