TreeView_SetInsertMarkTreeView_SetInsertMark*
*Contents  *Index  *Topic Contents
*Previous Topic: TreeView_SetIndent
*Next Topic: TreeView_SetInsertMarkColor

TreeView_SetInsertMark


BOOL TreeView_SetInsertMark(
    HWND hwndTV,
    HTREEITEM htiInsert,
    BOOL fAfter
);

Sets the insertion mark in a tree view control. You can use this macro or send the TVM_SETINSERTMARK message explicitly.

hwndTV
Handle to a tree view control.
htiInsert
HTREEITEM that specifies at which item the insertion mark will be placed. If this argument is NULL, the insertion mark is removed.
fAfter
BOOL value that specifies if the insertion mark is placed before or after the specified item. If this argument is nonzero, the insertion mark will be placed after the item. If this argument is zero, the insertion mark will be placed before the item.

Version 4.71


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.