Hide

SftTree/DLL 7.5 - Tree Control

Display
Print

MultilineHeader

Defines whether column headers can display multiple lines of text.

C

BOOL WINAPI SftTree_GetMultilineHeader(HWND hwndCtl);
void WINAPI SftTree_SetMultilineHeader(HWND hwndCtl, BOOL fSet);
BOOL WINAPI SftTreeSplit_GetMultilineHeader(HWND hwndCtl);
void WINAPI SftTreeSplit_SetMultilineHeader(HWND hwndCtl, BOOL fSet);

C++

BOOL CSftTree::GetMultilineHeader() const;
void CSftTree::SetMultilineHeader(BOOL fSet = TRUE);
BOOL CSftTreeSplit::GetMultilineHeader() const;
void CSftTreeSplit::SetMultilineHeader(BOOL fSet = TRUE);

Parameters

hwndCtl

The window handle of the tree control.

fSet

Set to TRUE to allow multiple lines of text in column headers, otherwise set to FALSE.

Returns

GetMultilineHeader returns TRUE if multiple lines of text are allowed, otherwise FALSE is returned.

Comments

The GetMultilineHeader and SetMultilineHeader functions define whether column headers can display multiple lines of text.

Column header text is defined using SetColumns (see SFTTREE_COLUMN_EX, lpszTitle).

Header text and row/column header text can contain multiple lines of text using cr-lf (\r\n). SetMultilineHeader must be used to enable multiple lines of text.

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