TB_BUTTONCOUNT
The TB_BUTTONCOUNT message retrieves a count of the buttons currently in the toolbar.
wParam = 0;
lParam = 0;
Return Values
Returns the count of the buttons.