Home > Software engineering > Excuse me, how to make a control could not stop it behind the controls of the mouse events?
Excuse me, how to make a control could not stop it behind the controls of the mouse events?
Time:09-26
I above an aic control adds a transparent label control, but I want to make the label can't stop all mouse events of aic, I want to use the call to move each event, but some aic control's event was no label control, I try to put the label enabled set to false, but I don't want to let the label is grey, I want to know the how to make the label could not stop for aic all mouse events ,
CodePudding user response:
The most simple you don't use LABEL control, direct use GDI API in your draw this aic control above the text, use the LABEL, you can put the mouse stopped completely, and then simulated reduction to aic controls, similar to the wizard button the principle of playback,
CodePudding user response:
Under the label for mouse events, and then sendmessage to the controls