Hide

SftTree/DLL 7.5 - Tree Control

Display
Print

DisplayFooterRect

Returns the dimensions of the column footer area.

C

BOOL WINAPI SftTree_GetDisplayFooterRect(HWND hwndCtl,
        int realCol,
        LPRECT lpRect,
        int* lpSpan);
BOOL WINAPI SftTreeSplit_GetDisplayFooterRect(HWND hwndCtl,
        int realCol,
        LPRECT lpRect,
        int* lpSpan);

C++

BOOL CSftTree:GetDisplayFooterRect(int dispCol,
        LPRECT lpRect,
        int* lpSpan) const;
BOOL CSftTreeSplit:GetDisplayFooterRect(int dispCol,
        LPRECT lpRect,
        int* lpSpan) const;

Parameters

hwndCtl

The window handle of the tree control.

realCol

The zero-based column number whose location is to be retrieved.

lpRect

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

lpSpan

A pointer to a variable where the number of columns is returned that the column footer occupies. If cell merging is allowed and the column footer merges into an adjacent column footer, a column footer can span more than one column. This parameter may be NULL.

Returns

GetDisplayFooterRect returns TRUE if successful, otherwise FALSE is returned.

Comments

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

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

The dimensions of the entire footer area can be retrieved using GetFooterRect.

See Also C/C++ API | Categories | Notifications