Hide

SftTree/DLL 7.5 - Tree Control

Display
Print

RowColFooterPicture

Defines the picture displayed in the row/column footer.

C

BOOL WINAPI SftTree_GetRowColFooterPicture(HWND hwndCtl, LPSFT_PICTURE lpPicture);
BOOL WINAPI SftTree_SetRowColFooterPicture(HWND hwndCtl, LPCSFT_PICTURE lpPicture);
BOOL WINAPI SftTreeSplit_GetRowColFooterPicture(HWND hwndCtl, LPSFT_PICTURE lpPicture);
BOOL WINAPI SftTreeSplit_SetRowColFooterPicture(HWND hwndCtl, LPCSFT_PICTURE lpPicture);

C++

BOOL CSftTree::GetRowColFooterPicture(LPSFT_PICTURE lpPicture) const;
BOOL CSftTree::SetRowColFooterPicture(LPCSFT_PICTURE lpPicture);
BOOL CSftTreeSplit::GetRowColFooterPicture(LPSFT_PICTURE lpPicture) const;
BOOL CSftTreeSplit::SetRowColFooterPicture(LPCSFT_PICTURE lpPicture);

Parameters

hwndCtl

The window handle of the tree control.

lpPicture

A pointer to a SFT_PICTURE structure to be used as row/column footer picture. If the SFT_PICTURE structure defines a bitmap handle, the top, left pixel of the bitmap must contain the image's background color. This color will be replaced by the actual window background color when the bitmap is displayed. This parameter may be NULL to remove the row/column footer picture.

Returns

Get/SetRowColFooterPicture returns TRUE if the function was successful, otherwise FALSE is returned.

Comments

The GetRowColFooterPicture and SetRowColFooterPicture functions define the picture displayed in the row/column footer.

Get/SetRowColFooterPicture can be used to define a row/column footer picture using a bitmap, icon or ImageList image.

The dimensions of the picture are used to calculate the minimum dimension for the row headers, column footers and row/column footers, so pictures displayed in row headers, column footers and row/column footers are never clipped vertically.

The horizontal and vertical alignment of the row/column picture is defined using RowColFooterPictureStyle.

The row/column footer area is only shown if row headers and column footers are both shown (see SetShowRowHeader and SetShowFooter).

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