accessKey property

[This documentation is preliminary and is subject to change.]

Sets or retrieves the access key for the object.

Syntax

HRESULT value = object.put_accessKey(BSTR v);HRESULT value = object.get_accessKey(BSTR* p);

Property values

Type: BSTR

a key on an alphanumeric keyboard.

Remarks

In Windows Internet Explorer 7 and greater, ALT+D selects text in the Address bar, making D unavailable as a keyboard shortcut on a webpage.

As of Microsoft Internet Explorer 5, some scoped elements do not implicitly support the IHTMLElement2::accessKey property. Instead, they support the property by setting the IHTMLElement2::tabIndex attribute to any valid negative or positive integer.

See also

Reference

IHTMLRuleStyle2::accelerator

IHTMLElement2::tabIndex

 

 

Build date: 6/12/2012