So, I have a custom button (button A) which has been Subclassed (button B), and an instance of button B (button C), which has been dragged onto a window. I’m trying to get the MouseDown event of button C to fire using RaiseEvent. Here’s what I did:
- Inserted an Event Definition for “MouseDown” into button B.
- Inserted a MouseDown event into button B with the code: “RaiseEvent MouseDown.”
- Inserted a MouseDown event into button C with the code: “MessageBox(“Button Clicked”).”
I’ve tried several variations of that as well but the event doesn’t fire. Can someone tell me what I’m doing wrong?
Thanks!
3 posts - 2 participants