CWebView2.RemoveAcceleratorKeyPressedmethod
Removes an event handler previously added with AddAcceleratorKeyPressed.
Syntax
FUNCTION RemoveAcceleratorKeyPressed (BYVAL token AS EventRegistrationToken) AS HRESULT
Also documented as
AddAcceleratorKeyPressed — one description covers them all.Parameters
| Name | Description | |
|---|---|---|
eventHandler | Pointer to an ICoreWebView2NavigationStartingEventHandler. | |
token | Token that uniquely identifies the subscription. |
Description
Adds/removes an event handler for the AcceleratorKeyPressed event.
Reference
- Defined in AfxNova/CWebView2.inc:1581
- Documented in WebView/CWebWiew2 Class.md
- Topic: CWebView2 Class