Quote Originally Posted by Krool View Post
True.
New idea, having just a new "InitButtonMenu" with ByVal hMenu As Long and a ByRef Handled As Boolean.
If you change Handled to True the ToolBar control will not go further (TrackPopupMenu) and destroys just hMenu, since you decided it's all handled.
?
I think this would be a good start, although i haven't tested it yet, but i don't think that TrackPopupMenu could be used on an existing menu. i am going to test it and/or find another method to take advantage of this.
I would rather stay away from callbacks.
maybe somebody else here could give some idea...

be that as it may, it would help for those who want to use images in the menu.