Thanks for the insights.

Code:
With MF.xbar(0)

    .Buttons.Clear
    .MinButtonWidth = 0
    .MaxButtonWidth = 0

    .TextAlignment = TbrTextAlignBottom

    .ImageList = MF.imgl_BMP

    Set Btn = .Buttons.Add(, "ppa", "First button", 0, 1)
    Btn.ToolTipText = "14"
    Set Btn = .Buttons.Add(, "ppb", , 0, 2)
    Btn.ToolTipText = "15"

    .TextAlignment = TbrTextAlignRight

End With
This way it works as well.
One can live with this 'solution'.

Name:  D.png
Views: 6862
Size:  3.4 KB


a value of 30 means 2 pixel
In some cases, yes.
When it comes to different DPI settings, then not.

The toolbar behaves strange on different DPI settings.
A snippet of the effort to handle this can be seen in xbar_MouseDown.
But that is another story.

2 issues left:

1) Transparency handling
2) Adressing the imagelist's picture by key as string.

To 1)
Quite important.
If this is not possible I can stop other effort.

To the latter:
No problem, I could write a small function to manage this.
It would be more elegant to do it in the usercontrol's code.
Up to now I didn't find the right place where such a thing can be done.

Could you give me an advice where to place such code?

Good night Krool.