In the windows application I am developing, I'm trying to prevent users from using the arrow keys on the keyboard to navigate through the tabpages on a tabcontrol. Is anyone aware of a way to do this?
C#-APP: Disable arrow keys on tabcontrol
Collapse
X
-
Hi,
You can use PreFilterMessag e to receive the Windows message directly. If you handle WM_KEYDOWN (decimal 256), you can find the keycode of the key inside the WParam part of the message.
Have a look at section 7.5 in the following link:
http://www.syncfusion. com/FAQ/winforms/FAQ_c46c.aspx
Regards.
Comment