Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
Retrieves the top value of the rectangle.
Syntax
HRESULT get_top( long *p );
Parameters
- p
- Address of a long variable that receives the value of the top coordinate of the rectangle. The variable receives NULL if the attribute is not set.
Return value
Returns S_OK if successful, or an error value otherwise.
Sets the value of the rectangle's top attribute. The attribute determines the top position (coordinates) of the rectangle.
Syntax
HRESULT put_top( long v );
Parameters
- v
- A long number representing the rectangle's top attribute.
Return value
Returns S_OK if successful, or an error value otherwise.
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.