Rasim,
I notice that you never use the variable $cID.
Should calls like _GUICtrlToolbar_GetButtonText($hToolBar, $i)
be using $i or $cID ?
Also, it doesn't work for me. I put a MsgBox inside the loop to each at each value of _GUICtrlToolbar_GetButtonText($hToolBar, $i), and it seems to be missing some of them.