Partager via


IXRHyperlinkAction.SetTargetWindow(const WCHAR *) (Compact 2013)

3/28/2014

This method sets the TargetWindow property.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetTargetWindow(
const WCHAR *pValue)

Parameters

  • pValue
    [in] Pointer to a string containing the target window into which the IXRHyperlinkAction will load the NavigateUri.

Return Value

Implement this method so that it returns S_OK if successful; otherwise, return the appropriate HRESULT value to indicate that the method was not successful.

Remarks

The TargetWindow property may have any of the following values:

Value

Description

<name>

The actual name of an open window. This name is used as the value for the TARGET attribute on a form or an anchor element.

_blank

The URI is loaded into a new, unnamed window.

_parent

The URI is loaded into the current frame’s parent. If the frame has no parent, this value acts as the value _self.

_self

The current document is replaced with the specified URI.

_top

The loaded URI replaces any framesets that might be loaded. If there are no framesets defined, this value acts as the value _self.

See Also

Reference

IXRHyperlinkAction