[][src]Trait webview2_sys::ICoreWebView2MoveFocusRequestedEventArgs

pub trait ICoreWebView2MoveFocusRequestedEventArgs: IUnknown {
    unsafe fn get_reason(&self, value: *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, value: *mut MoveFocusReason) -> HRESULT

The reason for WebView to fire the MoveFocus Requested event.

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

Indicate whether the event has been handled by the app. If the app has moved the focus to its desired location, it should set Handled property to TRUE. When Handled property is false after the event handler returns, default action will be 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 there is no other such window to move focus to, focus will be cycled within the WebView's web content.

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

Set 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...