Plugin keyhandler question

May 20, 2008
9,870
69
Syracuse, NY, USA
When the user executes a command (by pressing <Enter>) a plugin keyhandler gets nKey=13, then nKey=0.

What's the nKey=0 all about?
 

rconn

Administrator
Staff member
May 14, 2008
11,429
109
vefatica wrote:

> When the user executes a command (by pressing <Enter>) a plugin keyhandler gets nKey=13, then nKey=0.
>
> What's the nKey=0 all about?
Not exactly -- when you execute a command by pressing Enter, the
keyhandler gets nKey=13. The command is executed, and before input is
accepted for the next command, the keyhandler is called with all fields
set to 0.

This is documented in the SDK and the online help (see Reference
Information / Plugins).

Rex