| Previous | Next |
| ERROR_WINDOW_NOT_COMBOBOX | ERROR_DC_NOT_FOUND |
ERROR_INVALID_EDIT_HEIGHT
The edit-control height is outside the accepted range
This is a legacy USER32 validation status for an edit-control sizing path. It should be interpreted as a parameter constraint on the control operation, not as a general screen-resolution or DPI failure.
The built-in error text gives the important bound: the height must be below 256 for the affected operation. Code that derives dimensions from font metrics, dialog units, scaling, or packed message fields should verify the final integer that reaches USER32 rather than only the logical layout value.
What to check
- Record the exact message/API and final height parameter.
- Check for accidental packing or truncation when dimensions are stored in 8-bit or 16-bit fields.
- Compare dialog-unit conversion and DPI scaling with the control's supported operation.
- If modern layout needs a larger control, redesign the control/layout instead of retrying the same invalid value.
This is not ERROR_INCORRECT_SIZE, a broader size-argument error used elsewhere; this status is specific to the classic edit-control height rule.
References
Looking for a different code? Search another status or error code.