Click to return to the Reusing Browser Technology home page    
IHTMLTextAreaElement::cre...     IHTMLTextAreaElement::get...     IHTMLTextAreaElement Inte...    
Web Workshop  |  Reusing Browser Technology

IHTMLTextAreaElement::get_cols Method


Retrieves the width, in columns, of a TEXTAREA control.

Syntax

HRESULT get_cols(
    long *p 
);

Parameters

p
Address of a long variable that receives the number of columns.

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

IHTMLTextAreaElement::put_cols Method


Sets the width, in columns, of the TEXTAREA control.

Syntax

HRESULT put_cols(
    long v 
);

Parameters

v
Long integer that receives the number of columns to set.

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.