NMTBHOTITEMNMTBHOTITEM*
*Contents  *Index  *Topic Contents
*Previous Topic: NMTBDISPINFO
*Next Topic: NMTOOLBAR

NMTBHOTITEM


typedef struct tagNMTBHOTITEM {
    NMHDR hdr;
    int idOld;
    int idNew;
    DWORD dwFlags;
} NMTBHOTITEM, FAR* LPNMTBHOTITEM;

Contains information used with the TBN_HOTITEMCHANGE notification.

hdr
NMHDR structure that contains additional information about the notification message.
idOld
Command identifier of the previously highlighted item.
idNew
Command identifier of the item about to be highlighted.
dwFlags
Flags that indicate why the hot item has changed. This can be one or more of the following values:
HICF_ACCELERATOR The change in the hot item resulted from an accelerator.
HICF_ARROWKEYS The change in the hot item resulted from an arrow key.
HICF_DUPACCEL Modifies HICF_ACCELERATOR. If this flag is set, more than one item has the same accelerator 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_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 accelerator for an item that was already hot.

Version 4.71


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