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