• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 204
  • Last Modified:

Mouse Enter Event not occuring for form which contains a custom control.

I created a control and put it on a windows form with the docking set to fill.  Now, when I try to handle mouse enter events in the form which contains the control, the events never occur.  I think the reason is that the control I created and put on the form is somehow handling the event.  However, I never implemented an event handler for the mouse enter event for the custom control.  This appears to be happening with many events... how do I handle these events?
0
McBluffin
Asked:
McBluffin
  • 2
1 Solution
 
Bob LearnedCommented:
Any control that is on top of the form will capture mouse events.  Can you give me a better idea of what you are trying to do?

Bob
0
 
McBluffinAuthor Commented:
Specifically, what I'm trying to do is have the Form change it's title text when the mouse is over the title bar.
0
 
Bob LearnedCommented:
Did you ever have this working?  The form events don't trap the mouse moving over the title bar--that is the non-client area of the form.

Bob
0
 
ihaveanswersCommented:
Hello McBluffin,
If we can have delegate written in the child control and called from the mouse enter event of the form should solve this issue..


Regards,

ihaveanswers
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now