#6160
Yutaka Emura
Keymaster

psa1999 wrote:
Thanks..
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.