SystemButtonEventController.SystemFunctionLockIndicatorChanged Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for