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

IUIAutomationElement::CachedAccessKey property

Retrieves the cached access key character for the element.

This property is read-only.

Syntax


HRESULT get_CachedAccessKey(
  [out, retval]  BSTR *retVal
);

Property value

Type: BSTR*

The cached access key character.

Remarks

An access key is a character in the text of a menu, menu item, or label of a control such as a button that activates the attached menu function. For example, the letter "O" is often used to invoke the Open file common dialog box from a File menu. Microsoft UI Automation elements that have the access key property set always implement the Invoke control pattern.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

UIAutomationClient.h (include UIAutomation.h)

IDL

UIAutomationClient.idl

See also

Reference
Automation Element Property IDs
CurrentAccessKey
IUIAutomationElement

 

 

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

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.