pub trait ICoreWebView2MoveFocusRequestedEventArgs: IUnknown {
// Required methods
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§
Sourceunsafe 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.
Sourceunsafe 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.
Sourceunsafe fn put_handled(&self, value: BOOL) -> HRESULT
unsafe fn put_handled(&self, value: BOOL) -> HRESULT
Sets the Handled property.
Trait Implementations§
Source§impl ComInterface for dyn ICoreWebView2MoveFocusRequestedEventArgs
impl ComInterface for dyn ICoreWebView2MoveFocusRequestedEventArgs
Source§const IID: IID = IID_ICORE_WEB_VIEW2_MOVE_FOCUS_REQUESTED_EVENT_ARGS
const IID: IID = IID_ICORE_WEB_VIEW2_MOVE_FOCUS_REQUESTED_EVENT_ARGS
The associated id for this interface
Source§type VTable = ICoreWebView2MoveFocusRequestedEventArgsVTable
type VTable = ICoreWebView2MoveFocusRequestedEventArgsVTable
A COM compatible V-Table
Source§fn is_iid_in_inheritance_chain(riid: &GUID) -> bool
fn is_iid_in_inheritance_chain(riid: &GUID) -> bool
Check whether a given IID is in the inheritance hierarchy of this interface