For all users who want to add any menu item to toolbar.
First use the Manage Toolbar Configurations dialog to save the current toolbar as new one. "Advanced" and "Basic" are standard toolbars, which can be automatically modified during an update of UltraEdit. So it's always a good advice to save a modified personal toolbar with a different name, for example "MyToolbar" or "Personal".
The toolbars are stored as ASCII files with DOS line termination with the extension *.tfg in the directory of the ini-file. The name of the file is the name you specified in the manage toolbar configurations dialog. The menus are stored in files with the extension *.mfg. UltraEdit always creates a copy of the current used menu and toolbar files. The name of this files are "ini-name.mnu" for the menu and "ini-name.tbr". For default uedit32.ini you can find the files:
Where is the ini-file? Look at topic "INI File Selection and Advanced Settings" in the help of UltraEdit. Each ini-file has it's on set of menu and toolbar files!
Next you can modify the toolbar with the Customize Toolbar dialog.
But there are some menu items, which are not available in the customize toolbar dialog! No problem.
Open now the currently used menu file, for example Advanced.mfg. You will see easily, how this file is structured. Now search for the menu item you want. For LeoDiniz question it is "&Sum Columns/Selection". At this line, look for the program internal ID name for this function.
Now open also your toolbar file, for example MyToolbar.tfg. Goto the line, where you want to insert the function. The ID names are clear enough for understanding. Copy the line and paste it at correct position and replace the ID name by the name of the function you want. For LeoDiniz it is ID_SUMCOLUMNS and save the modified toolbar.
Close UltraEdit and start again. UltraEdit will detected that MyToolbar.tfg is not identical to Uedit32.tbr and will copy MyToolbar.tfg to Uedit32.tbr and now the function you want is present in your toolbar.
You can do this for all functions which have an ID in the menu, but functions without an icon in the menu will also have no icon in the toolbar!
Best regards from an UC/UE/UES for Windows user from Austria