Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / desktop / MFC

CTRL+ I is received as TAB in the OnChar event of a window

5.00/5 (1 vote)
15 Sep 2011CPOL 12.4K  
This is not so much of a trick, just a little tip about how CTRL+I is interpretated in a window
Override OnChar event of a CWnd derived class and check that pressing TAB key and pressing CTRL+I is intrepretated as the same value VK_TAB.

Some user of your application might be annoyed by this behaviour, so better be careful in handling the TAB key press in OnChar.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)