SystemButtonEventController.SystemFunctionLockIndicatorChanged Event

Definition

Occurs on changes to the state of the visual indicator for the Fn hardware system (also know as Function Shift) button lock.

// Register
event_token SystemFunctionLockIndicatorChanged(TypedEventHandler<SystemButtonEventController, SystemFunctionLockIndicatorChangedEventArgs const&> const& handler) const;

// Revoke with event_token
void SystemFunctionLockIndicatorChanged(event_token const* cookie) const;

// Revoke with event_revoker
SystemButtonEventController::SystemFunctionLockIndicatorChanged_revoker SystemFunctionLockIndicatorChanged(auto_revoke_t, TypedEventHandler<SystemButtonEventController, SystemFunctionLockIndicatorChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<SystemButtonEventController,SystemFunctionLockIndicatorChangedEventArgs> SystemFunctionLockIndicatorChanged;
function onSystemFunctionLockIndicatorChanged(eventArgs) { /* Your code */ }
systemButtonEventController.addEventListener("systemfunctionlockindicatorchanged", onSystemFunctionLockIndicatorChanged);
systemButtonEventController.removeEventListener("systemfunctionlockindicatorchanged", onSystemFunctionLockIndicatorChanged);
- or -
systemButtonEventController.onsystemfunctionlockindicatorchanged = onSystemFunctionLockIndicatorChanged;
Public Custom Event SystemFunctionLockIndicatorChanged As TypedEventHandler(Of SystemButtonEventController, SystemFunctionLockIndicatorChangedEventArgs) 

Event Type

Remarks

This API is intended for use by Accessibility tools as a low level hook for intercepting events from hardware system buttons.

SystemButtonEventController event registration applies system wide and is first-come, first-served. If an application or service sets a SystemButtonEventController event Handled property to true, applications or services that registered after that app or service for the same event notification will not receive the notification.

Applies to

See also