Contents Index Topic Contents | ||
Previous Topic: IHTMLInputTextElement::put_maxLength Next Topic: IHTMLInputTextElement::select |
IHTMLInputTextElement::get_maxLength
HRESULT get_maxLength( long *p );Retrieves the maximum number of characters that can be entered into a text control.
- Returns S_OK if successful, or an error value otherwise.
- p
- Address of a variable that receives the maximum number of characters.
This can be larger than the size of the text box. When this occurs, the text box should scroll accordingly as the user types. The default is there is no limit.
See also put_maxLength
IHTMLInputTextElement::put_maxLength
HRESULT put_maxLength( long v );Sets the maximum number of characters that can be entered into a text control.
- Returns S_OK if successful, or an error value otherwise.
- v
- Value specifying the maximum number of characters.
This can be larger than the size of the text box. When this occurs, the text box should scroll accordingly as the user types. The default is there is no limit.
See also get_maxLength
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.