Trait webview2_sys::ICoreWebView2MoveFocusRequestedEventArgs[][src]

pub trait ICoreWebView2MoveFocusRequestedEventArgs: IUnknown {
    unsafe fn get_reason(&self, reason: *mut MoveFocusReason) -> HRESULT;
unsafe fn get_handled(&self, value: *mut BOOL) -> HRESULT;
unsafe fn put_handled(&self, value: BOOL) -> HRESULT; }

Event args for the MoveFocusRequested event.

Required methods

unsafe fn get_reason(&self, reason: *mut MoveFocusReason) -> HRESULT[src]

The reason for WebView to run the MoveFocusRequested event.

unsafe fn get_handled(&self, value: *mut BOOL) -> HRESULT[src]

Indicates whether the event has been handled by the app. If the app has moved the focus to another desired location, it should set the Handled property to TRUE. When the Handled property is FALSE after the event handler returns, default action is taken. The default action is to try to find the next tab stop child window in the app and try to move focus to that window. If no other window exists to move focus, focus is cycled within the web content of the WebView.

unsafe fn put_handled(&self, value: BOOL) -> HRESULT[src]

Sets the Handled property.

Loading content...

Trait Implementations

impl ComInterface for dyn ICoreWebView2MoveFocusRequestedEventArgs[src]

type VTable = ICoreWebView2MoveFocusRequestedEventArgsVTable

A COM compatible V-Table

type Super = dyn IUnknown

The interface that this interface inherits from

impl<C: ICoreWebView2MoveFocusRequestedEventArgs> ProductionComInterface<C> for dyn ICoreWebView2MoveFocusRequestedEventArgs[src]

Implementations on Foreign Types

impl<T: ICoreWebView2MoveFocusRequestedEventArgs + ComInterface + ?Sized> ICoreWebView2MoveFocusRequestedEventArgs for ComRc<T>[src]

impl<T: ICoreWebView2MoveFocusRequestedEventArgs + ComInterface + ?Sized> ICoreWebView2MoveFocusRequestedEventArgs for ComPtr<T>[src]

Loading content...

Implementors

Loading content...