Contents Index Topic Contents | ||
Previous Topic: IHTMLInputFileElement::put_maxLength Next Topic: IHTMLInputFileElement::select |
IHTMLInputFileElement::get_maxLength
HRESULT get_maxLength( long *p );Retrieves the maximum number of characters that can be entered into the 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 textbox. When this occurs, the textbox should scroll accordingly as the user types. The default is there is no limit.
See also put_maxLength
IHTMLInputFileElement::put_maxLength
HRESULT put_maxLength( long v );Sets the maximum number of characters that can be entered into the control.
- Returns S_OK if successful, or an error value otherwise.
- v
- Value specifying the length.
This can be larger than the size of the control. When this occurs, the control scrolls 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.