Plugin keyhandler question

May 20, 2008
12,331
134
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?
 
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
 

Similar threads