BCGControlBar Pro for MFC
UINT BCGM_ON_CLICK_LISTBOX_PIN

The message is sent to the owner of list box control when the user clicks pin button located on the item's right.

Parameters
wParamcontains a list box control id.
lParama clicked item index.
Returns
the return value is ignored.