HeaderPane
Main
Hide
Share Link
Print

GetButtonPositionPix Method, SftTreeFooter Object

Returns the coordinates of the footer dropdown/filter button area.

Syntax

VB.NETBoolean = object.GetButtonPositionPix(ByRef LeftPix As Integer, ByRef TopPix As Integer, ByRef WidthPix As Integer, ByRef HeightPix As Integer) As Boolean
VBBoolean = object.GetButtonPositionPix(LeftPix As OLE_XPOS_PIXELS, TopPix As OLE_YPOS_PIXELS, WidthPix As OLE_XSIZE_PIXELS, HeightPix As OLE_YSIZE_PIXELS) As Boolean
C#.NETbool Boolean = object.GetButtonPositionPix(out int LeftPix, out int TopPix, out int WidthPix, out int HeightPix);
VC++VARIANT_BOOL Boolean = object->GetButtonPositionPix(OLE_XPOS_PIXELS* LeftPix, OLE_YPOS_PIXELS* TopPix, OLE_XSIZE_PIXELS* WidthPix, OLE_YSIZE_PIXELS* HeightPix);
CHRESULT object->raw_GetButtonPositionPix(OLE_XPOS_PIXELS* LeftPix, OLE_YPOS_PIXELS* TopPix, OLE_XSIZE_PIXELS* WidthPix, OLE_YSIZE_PIXELS* HeightPix, VARIANT_BOOL* Boolean);

object

A SftTreeFooter object.

LeftPix

Returns the horizontal position of the footer dropdown/filter button area relative to the top, left corner of the tree control in pixels.

TopPix

Returns the vertical position of the footer dropdown/filter button area relative to the top, left corner of the tree control in pixels.

WidthPix

Returns the width of the footer dropdown/filter button area in pixels.

HeightPix

Returns the height of the footer dropdown/filter button area in pixels.

Boolean

BooleanDescription
TrueThe column footer has a dropdown/filter button area. The returned coordinates are valid.
FalseThe column footer is not displayed or has no dropdown/filter button area. The returned coordinates are 0.

Comments

The GetButtonPositionPix method returns the coordinates of the footer dropdown/filter button area. If no footer dropdown/filter button is shown, this method returns WidthPix/HeightPix 0.

The Footer.GetButtonPosition and Footer.GetButtonPositionPix methods are synonyms, but may use different coordinate systems.

To retrieve the coordinates of the entire column footer, use Footer.GetPosition instead.

See Also SftTreeFooter Object | Object Hierarchy


Last Updated 10/11/2026 - (email)
© 2026 Softel vdm, Inc.