vikramdb
05-15-2002, 11:35 AM
HI...
I hate to say this is any forum - that, may be this is not the right place to ask - but I felt, you never know, you may get an answer , or perhaps get directions where to look for...
OK, I have a customized toolbar in word, on load of a new document I dynamically add a combox to it which just lists all user-defined styles.
Now the requirement is that, it should look as similar as possible to Word s built in styles dropdown. i.e when you click on the down arrow button on the styles combobox only the dropdown part will increase in width to accomodate the length of the largest style. the actual combobox on the formatting toolbar will remain of the same size. I hope i have conveyed the problem correctly, i.e even my combobox should enlarge when the down arrow is clicked, i.e only the drop down part should increase in width. Does anyone know how to do this ?
On more point I just cannot increase the width of the combobox itself randomly as I have to see that the entire toolbar is visible in 800 * 600 resolution.
Thanx in advance
vikram db
I hate to say this is any forum - that, may be this is not the right place to ask - but I felt, you never know, you may get an answer , or perhaps get directions where to look for...
OK, I have a customized toolbar in word, on load of a new document I dynamically add a combox to it which just lists all user-defined styles.
Now the requirement is that, it should look as similar as possible to Word s built in styles dropdown. i.e when you click on the down arrow button on the styles combobox only the dropdown part will increase in width to accomodate the length of the largest style. the actual combobox on the formatting toolbar will remain of the same size. I hope i have conveyed the problem correctly, i.e even my combobox should enlarge when the down arrow is clicked, i.e only the drop down part should increase in width. Does anyone know how to do this ?
On more point I just cannot increase the width of the combobox itself randomly as I have to see that the entire toolbar is visible in 800 * 600 resolution.
Thanx in advance
vikram db