hm, that sounds like an interesting problem.
essentially, a little like a visual basic interface for generating information for a menu... if im understanding it correctly.
try... creating an array with defined types that contain all the information about the sprites you need (sprite number, height, width, x position, y position, etc). Incorporate functions for adjusting the various aspects of each sprite, including the loading of the pictures so that you can place them as you need them. Possible use hidable menu windows/areas which have the ability to select and control the sprites information, treating them like objects. Have an export feature which will output all of that data into a file. Then create a loader which reads that file and uses it to generate a menu in the game
(also doubles as a import feature for your editor
)
you could also add functions for the various areas that respond to the mouse (for example semi transparent boxes that appear over the actual sprites in the editor) which have their data then included in the save file, and which can be loaded up in the actual program the menu is used for.
heh, a universal menu system... think of the time it could save newbies (like me lol) everywhere...