IASControl::get_Width

This method retrieves the width of a control.

Syntax

HRESULT get_Width( long *pdx );

Parameters

pdx
Pointer to the control’s width.

Return Values

NOERROR indicates success. If an error occurs, the appropriate HRESULT value is returned.

Remarks

This method must be implemented, but can return E_NOTIMPL. However, it should be fully implemented if IASControl::GetBounds is implemented.

See Also

IASControl::put_Width, IASControl::GetBounds