Toolbar Controls Notifications (Compact 2013)

3/28/2014

The following table shows the toolbar controls notifications, with a description of the purpose of each.

Programming element

Description

TBN_BEGINDRAG

This message notifies a toolbar's parent window that the user has begun dragging a button in a toolbar. It is sent in the form of a WM_NOTIFY message.

TBN_DRAGOUT

This message is sent by a toolbar control when the user clicks a button and then moves the cursor off the button. It is sent in the form of a WM_NOTIFY message.

TBN_DROPDOWN

This message is 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.

TBN_ENDDRAG

This message notifies the toolbar's parent window that the user has stopped dragging a button in a toolbar. It is sent in the form of a WM_NOTIFY message.

TBN_GETBUTTONINFO

This message retrieves toolbar customization information and notifies the toolbar's parent window of any changes being made to the toolbar. It is sent in the form of a WM_NOTIFY message.

See Also

Reference

Toolbar Controls Reference