Problem in Rich Text box using VC++
-
-
:confused:hello, I am using the RTF control in vc++ for my simple text document purpose. I get the problem using Pressing the Esc key and i can't get the Keycode from on Keyup and Keydown events. Any one can solve this send to me. Thank you, Bye
You need to call to call the member funktion SetEventMask to specify which notification messages the CRichEditCtrl object sends to its parent window. For example, to get notified about mouse and keyboard events: CRichEditCtrl m_rich; m_rich.SetEventMask(ENM_MOUSEEVENTS|ENM_KEYEVENTS); Hope this helps.
MS
-
:confused:hello, I am using the RTF control in vc++ for my simple text document purpose. I get the problem using Pressing the Esc key and i can't get the Keycode from on Keyup and Keydown events. Any one can solve this send to me. Thank you, Bye
See this article its not for keyup or keydwon but its good for SetEventMask(set event mask for RichEditCtrl) Setting selected text to read-only[^]
_**
**_
WhiteSky