Quote Originally Posted by Schmidt View Post
Can't really see the problem...
If you cannot reach the "internals" of that ToolBar (or ToolBar-like) thingy -
but "have" a hWnd for that "TargetStripe" - then the easiest way probably is:
- to create your own (drawable) Overlay-hWnd (e.g. a VB.PictureBox)
- resizing it to the same size as the "target"
- then placing this OverlayHwnd on the target via SetParent
- but setting your Overlay-hWnd into Disabled-State
Now that's an interesting idea. Suppose I could render my own toolbar as an overlay and even had the code to determine where to position it and to only display while that particular window is opened... How do I then forward the clicks from my toolbar's buttons to the target toolbar's so that their respective functions execute when my replacement buttons are clicked? My limited experience with toolbar messages seemed to indicate that command bar did not respond to TB_ messages. By all means though, if you ever have the time to give this concept a shot even if in a very simple but function demo, I'd be very grateful and would definitely expand it into the full plugin.

Anyway, I'm going to set ModernVB up for release in the meantime, I should have it on Github hopefully tonight.