[Intended for internal use; not recommended for use in applications. This macro may not be supported in future versions of Windows.]
Sets the hot item for a tree-view control. You can use this macro or send the TVM_SETHOT message explicitly.
Handle to the tree-view control.
Handle to the new hot item. If this value is NULL, the tree-view control will be set to have no hot item.
Returns TRUE if successful, or FALSE otherwise.
Using this macro might compromise the security of your program.
The hot item is the item that the mouse is hovering over. The TVM_SETHOT message sent by this macro makes an item look like it is the hot item even if the mouse is not hovering over it.
If it succeeds, the TVM_SETHOT message causes the hot item to be redrawn.
The TVM_SETHOT message is ignored if hitem is NULL and the tree-view control is tracking the mouse.
Minimum supported client
|Windows Vista [desktop apps only]|
Minimum supported server
|Windows Server 2008 [desktop apps only]|
Build date: 11/16/2013