Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Enables or disables the Accelerator.
![]() |
Syntax
HRESULT retVal = object.SetEnabled(fEnable);
Parameters
fEnable [in]
Type: BOOLTRUE to enable the Accelerator; FALSE to disable the Accelerator.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
Disabled Accelerators are not included on shortcut menus in Windows Internet Explorer or in any enumerations.
See also
Reference