Visual Basic ToolBar Buttons

hello experts. please tell me what is the difference between tbrplaceholder and  tbrdropdown styles of buttons used in toolbar.  please provide me a sample code which uses both of these.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

tbrplaceholder is just that - a place holder. It is the size of a button, but not a button. It is used for spacing.

tbrdropdown is a drop down item, like a menu drop down. You can add items to it like this:
  Dim b As ButtonMenu
  Set b = myToolBar.Buttons("buttonName").ButtonMenus.Add(,, "Your Text")

Good luck.
anuraggupta1Author Commented:
Thanks bingie feedback !!

>> tbrplaceholder is just that - a place holder. It is the size of a button, but not a button. It is used for spacing

then why is there tbrseperator. becuase there deoes not seem much difference between tbrseperator and tbrplaceholder.

Can you please provide me an example (like in MS Word or IE etc)  or sample code where these have been used.
thanks again.
The placeholder is just a little gap inbetween two buttons
      --> (open up your IE or word and look for a | inbetween two buttons)

The drowndown list is a button with a little arrow next to it that roll open for other options.
      --> (open up your IE and look at the back and forward button.. that's an example of a dropdown button)


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial

tbrplaceholder is not just a space between two buttons, its used to place combo boxes and other stuff in toolbars. u can increase the button width, set it to a place holder and place a combo box there.

since the previous comments describe drop down i assume that u know them



It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Development

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.