[RESOLVED] Microsoft Toolbar Customize buttons. Problums
Hi I have made a nise looking app that uses the Toolbar from the common controls set
I have also give the user the option to customize this bar and save there settings. using the in built functions
RestoreToolbar and SaveToolbar
Now my problum is after I save the toolbar the buttons, have been custimized. but lets say I had spacers in my buttons. bascily there all missing. it's like VB has just removed all the spacers.
any ideas. or maybe some other way I can save and load buttons positions.
Thanks.
Re: Microsoft Toolbar Customize buttons. Problums
It isn't what VB is or isn't doing it is what YOUR not doing if it is your program. You must not be tracking the "spacer" buttons inputted onto the users bar for reload.
Re: Microsoft Toolbar Customize buttons. Problums
Do all your buttons have images? There is a bug with customize if a button does not contain an image.
BUG: RestoreToolbar Method May Not Restore Toolbar Correctly
If that is not the solution, can you post a simple form that duplicates the problem?
Re: Microsoft Toolbar Customize buttons. Problums
Brucevde
Thank you very much I have now got it sorted Had to use an image also on the spacer. just a blank 16x16 image. but it does the trick.
Thank you agian.