Share via


HtmlInput.GetKBCurrent Method

Gets the index of the soft keyboard key that currently has the focus.

Note   This method has been deprecated.

Syntax

  HtmlInput
  .GetKBCurrent()

Parameters

This method takes no parameters.

Return Values

A Number (long) that specifies the index of the key that has the focus.

Example Code

The following JScript example retrieves the index of the key that has the focus:

var nKey = objInput.GetKBCurrent();

Requirements

Library: ehkeyctl.dll

Platform: Windows XP Media Center Edition 2005 and later

See Also