Create a vertical rebar, and add a toolbar into it
helpfile for
_GUICtrlRebar_Create...must include style = $CCS_VERT
_GUICtrlToolbar_Create...must include style = $TBSTYLE_WRAPABLE
using the _GuiCtrlRebar_create example (helpfile), change the following to:
; create the rebar control
$hReBar = _GUICtrlRebar_Create($hgui, BitOR($CCS_TOP, $WS_BORDER, $RBS_VARHEIGHT, $RBS_AUTOSIZE, $RBS_BANDBORDERS,$CCS_VERT,$RBS_VARHEIGHT ))
; create a toolbar to put in the rebar
$hToolbar = _GUICtrlToolbar_Create($hgui, BitOR($TBSTYLE_FLAT, $CCS_NORESIZE, $CCS_NOPARENTALIGN,$TBSTYLE_WRAPABLE))
looping through button creation can be just as easy...add the controlid's into an array, and then it's easy to see the button being pressed as well