IHTMLMapElement

IHTMLMapElement


Ths interface specifies a collection of hot spots for a client-side image map

IHTMLMapElement Methods
get_areas   put_name   get_name  

IHTMLMapElement::get_areas

HRESULT get_areas( 
    IHTMLAreasCollection **p 
);

Retrieves a collection of the AREA elements defined for the given MAP element.

p
Address of a variable that receives an interface pointer to the collection object.

See also IHTMLAreasCollection

IHTMLMapElement::put_name

HRESULT put_name(
    BSTR v 
);

Sets the name of the control, bookmark, or application.

v
String specifying the name.

The name is used to bind the value of the control when submitting a form. The NAME is not the value that is displayed for the button, reset, and submit objects. Submitting the form submits the internally stored value, not the one displayed.

JScript allows the name to be changed at run time. This does not change the name in the programming model, in the collection of elements, but does change the name used for submitting elements.

See also get_name

IHTMLMapElement::get_name

HRESULT get_name(
    BSTR *p 
);

Retrieves the name of the control, bookmark, or application.

p
Address of a variable that receives the name.

The name is used to bind the value of the control when submitting a form. The NAME is not the value that is displayed for the button, reset, and submit objects. Submitting the form submits the internally stored value, not the one displayed.

JScript allows the name to be changed at run time. This does not change the name in the programming model, in the collection of elements, but does change the name used for submitting elements.

See also put_name

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