Uwaga
Dostęp do tej strony wymaga autoryzacji. Może spróbować zalogować się lub zmienić katalogi.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Retrieves the first visible item that precedes a specified item in a tree-view control. You can use this macro, or you can explicitly send the TVM_GETNEXTITEM message with the TVGN_PREVIOUSVISIBLE flag.
Syntax
HTREEITEM TreeView_GetPrevVisible(
HWND hwnd,
HTREEITEM hitem
);
Parameters
hwnd
Type: HWND
Handle to the tree-view control.
hitem
Type: HTREEITEM
Handle to an item. The specified item must be visible. Use the TVM_GETITEMRECT message to determine whether an item is visible.
Return value
Type: HTREEITEM
Returns the handle to the item if successful, or NULL otherwise.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | commctrl.h |
See also
Reference