User Control MouseEnter MouseLeave Problems
-
I've got a UserControl that responds to the MouseEnter and MouseLeave problems, making a highlight effect as the mouse passes over, however the controls within my control fire the MouseLeave event when the mouse moves from my control into the child control. Is there any way to make these controls "invisible" to mouse events? Thanks in advance, Peter
-
I've got a UserControl that responds to the MouseEnter and MouseLeave problems, making a highlight effect as the mouse passes over, however the controls within my control fire the MouseLeave event when the mouse moves from my control into the child control. Is there any way to make these controls "invisible" to mouse events? Thanks in advance, Peter
You could override the WndProc() method of the control to ignore the message.
-
You could override the WndProc() method of the control to ignore the message.