Hide

SftTree/DLL 7.5 - Tree Control

Display
Print

VirtualItemChanged

Notifies a tree control using a virtual data source that items have been changed.

C

BOOL WINAPI SftTree_VirtualItemChanged(HWND hwndCtl, LONG index);
BOOL WINAPI SftTreeSplit_VirtualItemChanged(HWND hwndCtl, LONG index);

C++

BOOL CSftTree::VirtualItemChanged(LONG index = -1);
BOOL CSftTreeSplit::VirtualItemChanged(LONG index = -1);

Parameters

hwndCtl

The window handle of the tree control.

index

The zero-based index number of the item which has been modified in the virtual data source. If -1 is used, all items in the virtual data source are considered altered.

Returns

The return value is TRUE if the function was successful, otherwise FALSE is returned.

Comments

The VirtualItemChanged function notifies a tree control using a virtual data source that items have been changed.

By notifying the tree control that items in the virtual data source have changed, the items in the tree control can be repainted if needed, reflecting their new attributes.

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