Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
Retrieves the top position of the element, in pixels.
Syntax
HRESULT get_pixelTop( long *p );
Parameters
- p
- Address of a variable that receives the top position.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
Unlike the top attribute, this attribute's value is an integer, not a string, and is always interpreted in pixels.
See Also
put_pixelTop
Sets the top position of the element, in pixels.
Syntax
HRESULT put_pixelTop( long v );
Parameters
- v
- Long integer value specifying the top position. Setting this property changes the value of the top position without changing the units designator.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
Unlike the top attribute, this attribute's value is an integer, not a string, and is always interpreted in pixels.
See Also
get_pixelTop, IHTMLStyle
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.