TBN_HOTITEMCHANGE notification code

Sent by a toolbar control when the hot (highlighted) item changes. This notification code is sent in the form of a WM_NOTIFY message.

TBN_HOTITEMCHANGE

    lpnmhi = (LPNMTBHOTITEM) lParam;

Parameters

lParam

Pointer to an NMTBHOTITEM structure that contains information about this notification code.

Return value

Return zero to allow the item to be highlighted, or nonzero to prevent the item from being highlighted.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h