How to trap space key in Rich Textbox? Thank you.
Originally Posted by dorjoo How to trap space key in Rich Textbox? Thank you. Handle the KeyDown event and check for space key: Code: if (e.KeyCode == Keys.Space) { //spacebar is hit } Laitinen
if (e.KeyCode == Keys.Space) { //spacebar is hit }
Please rate this post if it helped you! My FAQs MFC Dialog: How to disable a dialog from being moved? MFC Dialog: How to set the initial position of a modal dialog? MFC Dialog: Add tooltips to your controls in a dialog VC++ General: How to avoid making an assignment when the intention is a comparison?
Forum Rules