IOmHistory

IOmHistory


This interface provides the ability to access the history object for the client. The history object contains information on the URLs that the client has visited.

IOmHistory Methods
get_length   back  
forward   go  

IOmHistory::back

HRESULT back(
    VARIANT *pvargdistance 
);

Loads the previous URL in the History list.

pvargdistance
Address of a VARIANT structure that contains the script.

This method performs the same action as a user clicking the Back button in the browser. Trying to go past the beginning of the history does not generate an error. Instead, the browser remains at the current page.

See also forward

IOmHistory::forward

HRESULT forward( 
    VARIANT *pvargdistance 
);

Loads the next URL in the History list.

pvargdistance
Address of a VARIANT structure that contains the script.

This method performs the same action as a user clicking the Forward button in the browser. Trying to go past the end of the history does not generate an error. Instead, the browser remains at the current page.

See also back

IOmHistory::get_length

HRESULT get_length( 
    short *p 
);

Retrieves the number of elements in the History list.

p
Address of a variable that receives the number of items.

IOmHistory::go

HRESULT go(
    VARIANT *pvargdistance 
);

Loads a URL in the History list.

pvargdistance
Address of a VARIANT structure that contains the script.

Trying to go past the beginning or end of the history does not generate an error. Instead, the browser remains at the current page.

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