Greetings programmers, 
 
Back with another, probably dumb, question. 
 
I created a menu bar that lets users dynamically add and remove items - fun times (with more help than listable from one particular BA$$ on this forum - thank you again); and now that they can remove the items I need the bar to resize to fit shorter or longer against what items are left. 
 
IE: 
starts off with a dozen menu items 
user removes 5 
restarts the program 
i need the bar to read the width of the left over menu items and make the gui that + about 5 to 10 pixels for safety. 
 
Thoughts? 
Ideas? 
 
I tried the getcntrlpos but it doesn't work for menu items. 
 
Any thoughts, ideas / directions? 
 
Thanks in advance.