Yutaka Emura

psa1999 wrote:
I want to make VI Editor Emulation Plugin.
But I can’t receive ESC key code.
And I can’t get/set overwrite mode.
Can you help me?

You can use EP_PRE_TRANSLATE_MSG message to receive WM_KEYDOWN message with ESC key. In etlframe.h, you will define PreTranslateMessage().

Editor_QueryStatus( hwnd, EEID_INSERT, &bChecked );
can determine Insert or Overwrite mode.