Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

keyCode property

Sets or retrieves the Unicode key code associated with the key that caused the event.

Syntax

HRESULT value = object.put_keyCode( v);HRESULT value = object.get_keyCode(* p);

Property values

Type: long

the Unicode key code.

Remarks

The property is used with the HTMLFrameSiteEvents::onkeydown, HTMLFrameSiteEvents::onkeyup, and HTMLFrameSiteEvents::onkeypress events.

The property's value is 0 if no key caused the event.

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.