Partager via


OBJECT, APPLET, and EMBED Elements

This section lists the methods supported by the OBJECT, APPLET, and EMBED elements.

accDoDefaultAction Performs the object's default action. If this fails, the default actions are ScrollIntoView and Focus.
accHitTest See Hit Testing.
accLocation Specifies the location in screen coordinates.
accNavigate See About General Navigation.
accSelect Delegates the object. If there is no object, the method returns E_NOTIMPL.
get_accChild Delegates the object. If there is no object, the method returns a NULL pointer and S_FALSE.
get_accChildCount Delegates the object. If there is no object, the method returns zero children and S_OK.
get_accDefaultAction Has Select as a default action.
get_accDescription Returns "PLUGIN: type =" plus the object.tagName.
get_accFocus Delegates the object. If there is no object, the method returns E_NOTIMPL.
get_accHelp Returns E_NOTIMPL.
get_accHelpTopic Returns E_NOTIMPL.
get_accKeyboardShortcut Delegates the object. If there is no object, the method returns E_NOTIMPL.
get_accName Delegates the object. If there is no object, the method returns the title. If there is no title, the method returns a NULL pointer and S_OK.
get_accParent Returns the closest accessible element in the parent chain.
get_accRole Returns ROLE_SYSTEM_CLIENT or other appropriate role based on embedded content.
get_accSelection Delegates the object. If there is no object, the method returns E_NOTIMPL.
get_accState Returns one or more of STATE_SYSTEM_UNAVAILABLE, STATE_SYSTEM_INVISIBLE, STATE_SYSTEM_FOCUSABLE, and STATE_SYSTEM_FOCUSED. As of Microsoft Internet Explorer 6, also returns STATE_SYSTEM_OFFSCREEN. For more information, see About Invisible Objects.
get_accValue Returns the src property of the object element if the tagname = "EMBED". Otherwise, the method delegates the object. If there is no object, the method returns a NULL pointer and S_OK.
put_accName Returns E_NOTIMPL.
put_accValue Returns E_NOTIMPL.