Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

quant

How do i create a toolbar separator (the grey verticle line)

This topic is 5618 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

How do i create the grey verticle line separator on a toolbar (like the ones on IE6) using the win32 API. [edited by - quant on June 4, 2003 5:56:26 AM]

Share this post


Link to post
Share on other sites
Advertisement
What language and toolkit? (vb, .Net, tk, Qt, swing, etc.)

Toolbar is not a vanilla win32 api control (as EditBox and Listbox are).

If you are using .Net, then msdn has an answer.

vb.net:

ToolBar1.Buttons(1).Style = ToolBarButtonStyle.Separator

C++.net:
toolBar1->Buttons->Item[1]->Style =
ToolBarButtonStyle::Separator;
If you are using qt, then you use void QToolBar::addSeparator ()


gl
hf

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!