Click to return to the Reusing Browser Technology home page    
IHTMLWindow2::get_opener ...     IHTMLWindow2::get_parent ...     IHTMLWindow2 Interface    
Web Workshop  |  Reusing Browser Technology

IHTMLWindow2::get_Option Method


Retrieves an interface pointer to a factory object that you can use to create OPTION elements.

Syntax

HRESULT get_Option(
    IHTMLOptionElementFactory **p 
);

Parameters

p
Address of a pointer to an IHTMLOptionElementFactory interface that receives the factory object.

Return Value

Returns S_OK if successful, or an error code otherwise.

Remarks

You can add the elements to a SELECT block by using the IHTMLSelectElement::add method.



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.