Hide

SftTree/DLL 7.5 - Tree Control

Display
Print

MakeRowVisible

Scrolls the specified item into view vertically so that it is displayed in the tree control's client area.

C

void WINAPI SftTree_MakeRowVisible(HWND hwndCtl, int index);
void WINAPI SftTreeSplit_MakeRowVisible(HWND hwndCtl, int index);

C++

void CSftTree::MakeRowVisible(int index);
void CSftTreeSplit::MakeRowVisible(int index);

Parameters

hwndCtl

The window handle of the tree control.

index

The zero-based index of the item to scroll into view.

Comments

The MakeRowVisible function scrolls the specified item into view vertically so that it is displayed in the tree control's client area.

MakeRowVisible can be used to make an item visible by scrolling it into view (vertically). The user normally scrolls the tree control items vertically using the scroll bar, but an application can use MakeRowVisible to insure that an item is visible.

SetTopIndex is used to make a specific item the very first item shown in the tree control area.

To make a particular cell or column visible use MakeCellVisible or MakeColumnVisible.

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