FooterRect

 

 

 

SftTree/DLL 7.0

FooterRect

Softel vdm, Inc.

Returns the dimensions of the column footer area.

C

void WINAPI SftTree_GetFooterRect(HWND hwndCtl,
        int iCol,
        LPRECT lpRect);
void WINAPI SftTreeSplit_GetFooterRect(HWND hwndCtl,
        int iCol,
        LPRECT lpRect);

C++

void CSftTree::GetFooterRect(int iCol, LPRECT lpRect) const;
void CSftTreeSplit::GetFooterRect(int iCol, LPRECT lpRect) const;

Parameters

hwndCtl

The window handle of the tree control.

iCol

The zero-based column number whose location is to be retrieved.  If -1 is specified, the location of the entire column footer area is returned.

lpRect

A pointer to a RECT structure where the location of the requested column footer is returned.

Comments

The GetFooterRect function returns the dimensions of the column footer area.

GetFooterRect does not handle merged column footers.  If cell or column merging is used, GetDisplayFooterRect should be used instead.

An empty rectangle is returned if an invalid column number is specified or column footers are not shown (see SetShowFooter).

The coordinates returned in lpRect are coordinates relative to the tree control's client area (in pixels).

The row/column footer area can be retrieved using GetRowColFooterRect

See Also  C/C++ API  |  CategoriesNotifications


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com