Description | If we use ISDBMenuItem::IconIndex property to set some already registered icon, then the toolbar button will display only the icon without caption; if we don't use that property then the button will display caption, but we cannot get a toolbar button with both icon and caption like those built-in ones on the Context and Navigation toolbars.
You could add one new property which could be used to set the type of display (e.g. 0 - caption, 1 - icon, 2 - both), or you could display both icon and caption if the Caption is non-empty. I suppose that the second solution would be easier for you to implement, but it could break some compatibility in some existing scripts. |
---|