The OpenD Programming Language

ICoreWebView2ContextMenuTarget

Undocumented in source.

Members

Functions

get_FrameUri
HRESULT get_FrameUri(LPWSTR* value)

Gets the uri of the frame. Will match the PageUri if IsRequestedForMainFrame is TRUE.

get_HasLinkText
HRESULT get_HasLinkText(BOOL* value)

Returns TRUE if the context menu is requested on text element that contains an anchor tag.

get_HasLinkUri
HRESULT get_HasLinkUri(BOOL* value)

Returns TRUE if the context menu is requested on HTML containing an anchor tag.

get_HasSelection
HRESULT get_HasSelection(BOOL* value)

Returns TRUE if the context menu is requested on a selection.

get_HasSourceUri
HRESULT get_HasSourceUri(BOOL* value)

Returns TRUE if the context menu is requested on HTML containing a source uri.

get_IsEditable
HRESULT get_IsEditable(BOOL* value)

Returns TRUE if the context menu is requested on an editable component.

get_IsRequestedForMainFrame
HRESULT get_IsRequestedForMainFrame(BOOL* value)

Returns TRUE if the context menu was requested on the main frame and FALSE if invoked on another frame.

get_Kind
HRESULT get_Kind(COREWEBVIEW2_CONTEXT_MENU_TARGET_KIND* value)

Gets the kind of context that the user selected.

get_LinkText
HRESULT get_LinkText(LPWSTR* value)

Gets the text of the link (if HasLinkText is TRUE, null otherwise).

get_LinkUri
HRESULT get_LinkUri(LPWSTR* value)

Gets the uri of the link (if HasLinkUri is TRUE, null otherwise).

get_PageUri
HRESULT get_PageUri(LPWSTR* value)

Gets the uri of the page.

get_SelectionText
HRESULT get_SelectionText(LPWSTR* value)

Gets the selected text (if HasSelection is TRUE, null otherwise).

get_SourceUri
HRESULT get_SourceUri(LPWSTR* value)

Gets the active source uri of element (if HasSourceUri is TRUE, null otherwise).

Meta