IASControl::get_Top

This method retrieves the y-coordinate of the top of the control.

Syntax

HRESULT get_Top( long *py );

Parameters

py
Pointer to the y-coordinate of the top of the control.

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_Top, IASControl::GetBounds