IASControl::GetBounds

This method retrieves the dimensions of a control.

Syntax

HRESULT GetBounds( long *plxLeft, long *plyTop, long *pldxWidth, long *pldyHeight );

Parameters

plxLeft
Pointer to the long integer that contains the x-coordinate of the left edge of the control.
plyTop
Pointer to the long integer that contains the y-coordinate of the top of the control.
pldxWidth
Pointer to the long integer that contains the width of the control.
pldyHeight
Pointer to the long integer that contains the height of the control.

Return Values

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

Remarks

If you implement this method, then you must implement IASControl::get_Height, IASControl::get_Top, IASControl::get_Width, and IASControl::get_Left.

See Also

IASControl::get_Height, IASControl::get_Top, IASControl::get_Width, IASControl::get_Left, IASControl::SetBounds