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;
}
Expand description
Event args for the MoveFocusRequested
event.
Required methods
unsafe fn get_reason(&self, reason: *mut MoveFocusReason) -> HRESULT
unsafe fn get_reason(&self, reason: *mut MoveFocusReason) -> HRESULT
The reason for WebView to run the MoveFocusRequested
event.
unsafe fn get_handled(&self, value: *mut BOOL) -> HRESULT
unsafe fn get_handled(&self, value: *mut BOOL) -> HRESULT
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
unsafe fn put_handled(&self, value: BOOL) -> HRESULT
Sets the Handled
property.
Trait Implementations
A COM compatible V-Table
Check whether a given IID is in the inheritance hierarchy of this interface