Announcement

Collapse
No announcement yet.

Toolbar with right aligned buttons

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

  • 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
    hellobasic

  • #2
    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.

    Comment


    • #3
      In this case it's customdrawn anyway but i may need to resort to two toolbars instead.
      Which is not ideal.
      hellobasic

      Comment


      • #4
        you can align toolbar to the right by SetwindowPos

        Comment

        Working...
        X