Megosztás a következőn keresztül:


SystemButtonEventController.SystemFunctionLockChanged Event

Definition

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

// Register
event_token SystemFunctionLockChanged(TypedEventHandler<SystemButtonEventController, SystemFunctionLockChangedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
SystemButtonEventController::SystemFunctionLockChanged_revoker SystemFunctionLockChanged(auto_revoke_t, TypedEventHandler<SystemButtonEventController, SystemFunctionLockChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<SystemButtonEventController,SystemFunctionLockChangedEventArgs> SystemFunctionLockChanged;
function onSystemFunctionLockChanged(eventArgs) { /* Your code */ }
systemButtonEventController.addEventListener("systemfunctionlockchanged", onSystemFunctionLockChanged);
systemButtonEventController.removeEventListener("systemfunctionlockchanged", onSystemFunctionLockChanged);
- or -
systemButtonEventController.onsystemfunctionlockchanged = onSystemFunctionLockChanged;
Public Custom Event SystemFunctionLockChanged As TypedEventHandler(Of SystemButtonEventController, SystemFunctionLockChangedEventArgs) 

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