Plugin keyhandler question

rconn

Administrator
Staff member
May 14, 2008
10,588
97
#2
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