description | title | author | ms.author | ms.date | ms.topic | keywords |
---|---|---|---|---|---|---|
Event args for the MoveFocusRequested event. |
WebView2 Win32 C++ ICoreWebView2MoveFocusRequestedEventArgs |
MSEdgeTeam |
msedgedevrel |
10/07/2020 |
reference |
IWebView2, IWebView2WebView, webview2, webview, win32 apps, win32, edge, ICoreWebView2, ICoreWebView2Host, browser control, edge html |
[!INCLUDE deprecation-note]
interface ICoreWebView2MoveFocusRequestedEventArgs
: public IUnknown
Event args for the MoveFocusRequested event.
Members | Descriptions |
---|---|
get_Reason | The reason for WebView to fire the MoveFocus Requested event. |
get_Handled | Indicate whether the event has been handled by the app. |
put_Handled | Set the Handled property. |
The reason for WebView to fire the MoveFocus Requested event.
public HRESULT get_Reason(CORE_WEBVIEW2_MOVE_FOCUS_REASON * value)
Indicate whether the event has been handled by the app.
public HRESULT get_Handled(BOOL * value)
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.
Set the Handled property.
public HRESULT put_Handled(BOOL value)