TBN_DROPDOWN

This notification message sent by a toolbar control when the user clicks a button that uses the TBSTYLE_DROPDOWN style. It is sent in the form of a WM_NOTIFY message.

At a Glance

Header file: Commctrl.h
Windows CE versions: 2.0 and later

Syntax

  1. TBN_DROPDOWN lpnmtb = (LPNMTOOLBAR) lParam;

Parameters

lpnmtb

Long pointer to an NMTOOLBAR structure that contains information about this notification. For this notification message, only the hdr and iItem members of this structure are valid.

Return Values

Returns FALSE to allow the toolbar control to display the drop-down list; returns TRUE to prevent the control from displaying the list.