TVN_SELCHANGING
This notification message notifies a tree view controls parent window that the selection is about to change from one item to another. It is sent in the form of a WM_NOTIFY message.
TVN_SELCHANGING pnmtv = (NM_TREEVIEW FAR *) lParam
Parameters
- pnmtv
Pointer to an NMTREEVIEW structure. The itemOld and itemNew members contain valid information about the currently selected item and the newly selected item. The action member indicates whether a mouse or keyboard action is causing the selection to change. For a list of possible values, see the description of the TVN_SELCHANGED notification message.
Return Values
TRUE prevents the selection from changing.
Requirements
| Runs on | Versions | Defined in | Include | Link to |
|---|---|---|---|---|
| Windows CE OS | 1.0 and later | Commctrl.h |
Note This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.
See Also
NM_TREEVIEW, TVN_SELCHANGED, WM_NOTIFY
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.