Click to return to the Reusing Browser Technology home page    
IHTMLFrameBase::get_borde...     IHTMLFrameBase::get_frame...     IHTMLFrameBase Interface    
Web Workshop  |  Reusing Browser Technology

IHTMLFrameBase::get_frameBorder Method


Retrieves the value of the frameBorder property of the frame.

Syntax

HRESULT get_frameBorder(
    BSTR *p
);

Parameters

p
Address of a string (BSTR) variable that receives "Yes" if the frame has an inset border, or "No" if it has no border.

Return Value

Returns S_OK if successful, or an error code otherwise.

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0

IHTMLFrameBase::put_frameBorder Method


Sets the value of the frameBorder property of the frame.

Syntax

HRESULT put_frameBorder(
    BSTR v
);

Parameters

v
String (BSTR) that specifies whether to display a border. If this parameter is "Yes", the frame will have an inset border. If it is "No", the frame will have no border. Any other value turns on the borders.

Return Value

Returns S_OK if successful, or an error code otherwise.

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0


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.