I'd like to move the Destroy button from the inventory screen to the cast spell window - to replace the book icon. Easy enough to move the button definition, but once you mess with the Screen ID's, you crash EQ. Anybody know how to move buttons like this to other windows?
It's not possible to add or remove buttons from any window. The code to support buttons is not in the XML files but in the program.
If you attempt to remove a button from a window the program gets upset when it can't find the button definition in the UI and won't load. The best you can do is hide the button by either 1) putting it 'behind' some other window element' or 2) moving it to outside the window border as long as the window can't be resized.
Adding a button definition to a window in the UI won't work. The code to support the button doesn't exist in the program. The button won't do anything.