IHTMLAnchorElement::accessKey Property
Sets or retrieves the access key for the object.
Syntax
HRESULT IHTMLAnchorElement::get_accessKey(BSTR *p); HRESULT IHTMLAnchorElement::put_accessKey(BSTR v);
Parameters
- p
Pointer to a variable of type BSTR that receives a key on an alphanumeric keyboard.- v
BSTR that specifies a key on an alphanumeric keyboard.
Return Value
Returns S_OK if successful, or an error value otherwise.
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.
See Also