Poznámka:
Přístup k této stránce vyžaduje autorizaci. Můžete se zkusit přihlásit nebo změnit adresáře.
Přístup k této stránce vyžaduje autorizaci. Můžete zkusit změnit adresáře.
Limits the length of text that can be entered into an edit control. You can use this macro or send the EM_LIMITTEXT message explicitly.
Syntax
void Edit_LimitText(
HWND hwndCtl,
int cchMax
);
Parameters
hwndCtl
Type: HWND
A handle to the control.
cchMax
Type: int
The maximum number of characters.
Return value
None
Remarks
For more information, see EM_LIMITTEXT.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2003 [desktop apps only] |
| Target Platform | Windows |
| Header | windowsx.h |