|
-
Apr 26th, 2020, 09:10 PM
#11
Re: Modernizing the VB6 IDE
 Originally Posted by LinkFX
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?
That's exactly what my example has shown (did you try it)?
The Overlay-hWnd (from the PictureBox) is just there for "drawing new stuff at the correct button-positions".
Whilst the original functionality is still there - and provided by "the hWnd beneath it".
So this works (with MouseActions), as if the Overlay-Window weren't there at all...
because it was disabled (has .Enabled = False) - and thus all the "Clicks fall through to the Parent".
Olaf
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|