TreeView_GetLastVisibleTreeView_GetLastVisible*
*Contents  *Index  *Topic Contents
*Previous Topic: TreeView_GetItemRect
*Next Topic: TreeView_GetNextItem

TreeView_GetLastVisible


HTREEITEM TreeView_GetLastVisible(
    HWND hwndTV
);		

Retrieves the last expanded item in a tree view control. This does not retrieve the last item visible in the tree view window. You can use this macro, or you can explicitly send the TVM_GETNEXTITEM message with the TVGN_LASTVISIBLE flag.

hwndTV
Handle to the tree view control.

Version 4.71.

See also TreeView_GetFirstVisible, TreeView_GetNextVisible, TreeView_GetPrevVisible, TVM_GETITEMRECT


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