You posted elsewhere as well if you want a tool bar you can use notepad to make it, a mnu file and menuload it. Much easier than CUI.
***MENUGROUP=ALANSTOOLBAR
***TOOLBARS
**ALANSTOOLS2
Alloff [_Button("All Off","Alloff.BMP","alloff.BMP")]^c^c^c(setq surface "_xxx All Off")(load "vercheck")(load "listselect")(load "changecontours6")
50mm [_Button("50mm cont","50mm.bmp","50mm.bmp")]^c^c^c(setq surface "_xxx NS 0.05 Contours")(load "vercheck")(load "listselect")(load "changecontours6")
100mm [_Button("100mm cont","100mm.BMP","100mm.BMP")]^c^c^c(setq surface "_xxx NS 0.1 Contours")(load "vercheck")(load "listselect")(load "changecontours6")
200mm [_Button("200mm cont","200mm.BMP","200mm.BMP")]^c^c^c(setq surface "_xxx NS 0.2 Contours")(load "vercheck")(load "listselect")(load "changecontours6")
500mm [_Button("0.50m cont","500mm.BMP","500mm.BMP")]^c^c^c(setq surface "_xxx NS 0.5m Contours")(load "vercheck")(load "listselect")(load "changecontours6")
1m [_Button("1m cont","1m.BMP","1m.BMP")]^c^c^c(setq surface "_xxx NS 1m Contours" )(load "vercheck")(load "listselect")(load "changecontours6")
Triangles [_Button("Triangles","TRI.BMP","TRI.BMP")]^c^c^c(setq surface "_xxx NS Triangles" )(load "vercheck")(load "listselect")(load "changecontours6")
Slope [_Button("Slope","RCDATA_16_SM_EXTEND","RCDATA_32_SM_EXTEND")]^c^c^c(setq surface "_xxx Slope Arrows & Catchments" )(if (not AH:Vercheck)(load "vercheck"))(if (not AT:ListSelect)(load "listselect"))(if (not AH:Changecont)(load "changecontours6"))
ID_Ddim [_Button("Dim Style",RCDATA_16_DIMSTY,RCDATA_32_DIMSTY)]^c^c_dimstyle
ID_Dimaligned[_Button("Dim align",RCDATA_16_DIMALI,RCDATA_32_DIMALI)]^c^c_dimaligned
ID_Dimlinear [_Button("Dim Lin",RCDATA_16_DIMLIN,RCDATA_32_DIMLIN)]^C^C_dimlinear
ID_Mleader_Style[_button("MLEADERSTYLE",RCDATA_16_ML_STYLE,RCDATA_32_ML_STYLE)]^c^c_mleaderst
M2P [_Button("M2P","M2P.BMP","M2P.BMP")](command "M2P")
In the file above I made custom images you need the images to be like 32x32 pixel size I used Paint.net it allows you set a 32x32 image.
