Skip to content

Latest commit

 

History

History
194 lines (164 loc) · 5.28 KB

ns-commctrl-nmtbhotitem.md

File metadata and controls

194 lines (164 loc) · 5.28 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NS:commctrl.tagNMTBHOTITEM
NMTBHOTITEM (commctrl.h)
Contains information used with the TBN_HOTITEMCHANGE notification code.
*LPNMTBHOTITEM
HICF_ACCELERATOR
HICF_ARROWKEYS
HICF_DUPACCEL
HICF_ENTERING
HICF_LEAVING
HICF_LMOUSE
HICF_MOUSE
HICF_OTHER
HICF_RESELECT
HICF_TOGGLEDROPDOWN
LPNMTBHOTITEM
LPNMTBHOTITEM structure pointer [Windows Controls]
NMTBHOTITEM
NMTBHOTITEM structure [Windows Controls]
_win32_NMTBHOTITEM
_win32_NMTBHOTITEM_cpp
commctrl/LPNMTBHOTITEM
commctrl/NMTBHOTITEM
controls.NMTBHOTITEM
controls._win32_NMTBHOTITEM
controls\NMTBHOTITEM.htm
Controls
VS|Controls|~\controls\toolbar\structures\nmtbhotitem.htm
12/05/2018
*LPNMTBHOTITEM, HICF_ACCELERATOR, HICF_ARROWKEYS, HICF_DUPACCEL, HICF_ENTERING, HICF_LEAVING, HICF_LMOUSE, HICF_MOUSE, HICF_OTHER, HICF_RESELECT, HICF_TOGGLEDROPDOWN, LPNMTBHOTITEM, LPNMTBHOTITEM structure pointer [Windows Controls], NMTBHOTITEM, NMTBHOTITEM structure [Windows Controls], _win32_NMTBHOTITEM, _win32_NMTBHOTITEM_cpp, commctrl/LPNMTBHOTITEM, commctrl/NMTBHOTITEM, controls.NMTBHOTITEM, controls._win32_NMTBHOTITEM
commctrl.h
Windows
Windows Vista [desktop apps only]
Windows Server 2003 [desktop apps only]
Windows
NMTBHOTITEM, *LPNMTBHOTITEM
19H1
tagNMTBHOTITEM
commctrl/tagNMTBHOTITEM
LPNMTBHOTITEM
commctrl/LPNMTBHOTITEM
NMTBHOTITEM
commctrl/NMTBHOTITEM
c++
APIRef
kbSyntax
HeaderDef
Commctrl.h
NMTBHOTITEM

NMTBHOTITEM structure

-description

Contains information used with the TBN_HOTITEMCHANGE notification code.

-struct-fields

-field hdr

Type: NMHDR

NMHDR structure that contains additional information about the notification.

-field idOld

Type: int

Command identifier of the previously highlighted item.

-field idNew

Type: int

Command identifier of the item about to be highlighted.

-field dwFlags

Type: DWORD

Flags that indicate why the hot item has changed. This can be one or more of the following values:

Value Meaning
HICF_ACCELERATOR
The change in the hot item was caused by a shortcut key.
HICF_ARROWKEYS
The change in the hot item was caused by an arrow key.
HICF_DUPACCEL
Modifies HICF_ACCELERATOR. If this flag is set, more than one item has the same shortcut key character.
HICF_ENTERING
Modifies the other reason flags. If this flag is set, there is no previous hot item and idOld does not contain valid information.
HICF_LEAVING
Modifies the other reason flags. If this flag is set, there is no new hot item and idNew does not contain valid information.
HICF_LMOUSE
The change in the hot item resulted from a left-click mouse event.
HICF_MOUSE
The change in the hot item resulted from a mouse event.
HICF_OTHER
The change in the hot item resulted from an event that could not be determined. This will most often be due to a change in focus or the TB_SETHOTITEM message.
HICF_RESELECT
The change in the hot item resulted from the user entering the shortcut key for an item that was already hot.
HICF_TOGGLEDROPDOWN

Version 5.80. Causes the button to switch states.