Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do determine the current insert/overwrite mode for a TRichEdit?

0
Posted

How do determine the current insert/overwrite mode for a TRichEdit?

0

The native Rich Edit control will not tell you whether the next character keyed will be inserted or overwritten. You will have to trap keystrokes and track the insert/overwrite mode yourself. One way to do this is to write your own class, presumably derived from TRichEdit, to track the control’s current insert/overwrite state. Note that Rich Edit controls are in insert mode when created.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.