Announcement

Collapse
No announcement yet.

Toolbar with right aligned buttons

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Gafny Jacob
    replied
    you can align toolbar to the right by SetwindowPos

    Leave a comment:


  • Edwin Knoppert
    replied
    In this case it's customdrawn anyway but i may need to resort to two toolbars instead.
    Which is not ideal.

    Leave a comment:


  • Gary Beene
    replied
    Likewise, I haven't seen such a style.

    As a quick and dirty fix, you could create a function that creates a single separator whose width is equal to the free space and put it in position #1. Remove it for left align, add it for right align.

    I seem to recall a way to get rid of the vertical bar in a separator, which would be appropriate. I don't recall if you can resize the width of a single button, but that might work too.

    Leave a comment:


  • Edwin Knoppert
    started a topic Toolbar with right aligned buttons

    Toolbar with right aligned buttons

    I don't see a style in msdn to position the buttons at the right side of the (top-aligned) control.
    At this time no big deal but maybe in the future i would even like to mix that.

    xx bla bla xxx
Working...
X