IASEditBox::get_ItemWidth

This method gets the width of an item.

Syntax

HRESULT get_ItemWidth( long *plWidth );

Parameters

plWidth
[out] Pointer to the long integer that contains the width of an item.

Return Values

NOERROR indicates success. E_INVALIDARG indicates that the argument is invalid.

Remarks

When editing, text is drawn in a non-proportional font inside equally sized boxes. The box with focus becomes a spin box, so the user can cycle through the available characters. This method returns the width of a box.