IHTMLInputImage::put_name
IHTMLInputImage

IHTMLInputImage::put_name


HRESULT put_name(
    BSTR v
);

Sets the name of the frame so it can be targeted from links in other documents.

v
String specifying the name. Either a window name or frame can be specified, or one of the following values:
window_name String that specifies a frame.
_blank Loads the link into a new, unnamed window.
_parent Loads the link over the parent. If the frame has no parent, this refers to _self.
_self Replaces the page with the specified link.
_top Loads the link at the topmost level.

The name property on the window comes from the FRAME definition. There is no other way to persist a window name in HTML.

See also get_name

IHTMLInputImage::get_name

HRESULT get_name(
    BSTR *p
);

Retrieves the name of the frame so it can be targeted from links in other documents.

p
Address of a variable that receives the window or frame name, or one of these values:
window_name String that specifies a frame.
_blank Loads the link into a new, unnamed window.
_parent Loads the link over the parent. If the frame has no parent, this refers to _self.
_self Replaces the page with the specified link.
_top Loads the link at the topmost level.

The name property on the window comes from the FRAME definition. There is no other way to persist a window name in HTML.

See also put_name

IHTMLInputImage::put_width

HRESULT put_width(
    long v
);

Sets the calculated width of the element, in pixels.

v
Value specifying the width.

This property is an integer value. Although an HTML author can specify the width as a percentage, this property always specifies the width in pixels.

See also get_width

IHTMLInputImage::get_width

HRESULT get_width(
    long *p
);

Retrieves the calculated width of the element, in pixels.

p
Address of a variable that receives the width.

This property is an integer value. Although an HTML author can specify the width as a percentage, this property always specifies the width in pixels.

See also put_width

IHTMLInputImage::put_height

HRESULT put_height(
    long v
);

Sets the calculated height of the element, in pixels.

v
Value specifying the height.

If the value of the corresponding HTML attribute was set using a percentage, this property specifies the height in pixels represented by that percentage.

See also get_height

IHTMLInputImage::get_height

HRESULT get_height(
    long *p
);

Retrieves the calculated height of the element, in pixels.

p
Address of a variable that receives the height.

If the value of the corresponding HTML attribute was set using a percentage, this property specifies the height in pixels represented by that percentage.

See also put_height

IHTMLInputImage::put_start

HRESULT put_start(
    BSTR v
);

Specifies when a video clip file should start playing.

v
String specifying when to start the video. Can be one of these values:
fileopen The video starts as soon as it is finished loading.
mouseover The video starts when the mouse goes over the animation.

See also get_start

IHTMLInputImage::get_start

HRESULT get_start(
    BSTR *p
);

Retrieves when a video clip should start playing.

p
Address of a variable that receives one of these values:
fileopen The video starts as soon as it is finished loading.
mouseover The video starts when the mouse goes over the animation.

See also put_start

© 1997 Microsoft Corporation. All rights reserved. Terms of Use.