PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Framework Forms Form level mouse events

Reply

Form level mouse events

 
Thread Tools Rate Thread
Old 18-10-2005, 12:30 PM   #1
JezB
Guest
 
Posts: n/a
Default Form level mouse events


I'm finding that form-level mouse events are not being fired when the mouse
is over any control within the form. Is there any way to enforce this ? I
want generic MouseLeave and MouseMove events that fire on the form even when
the mouse is over controls within the form (and even if these controls
themselves have a MouseMove event, I'd want BOTH to be fired).


  Reply With Quote
Old 18-10-2005, 03:57 PM   #2
Atul
Guest
 
Posts: n/a
Default Re: Form level mouse events

You can subscribe to the MouseMove and MouseLeave events of every child
control of the form to achieve this.

----------------
-Atul, Sky Software http://www.ssware.com
Shell MegaPack For .Net & ActiveX
Windows Explorer GUI Controls
&
Quick-Launch Like Appbars, MSN/Office2003 Style Popups,
System Tray Icons and Shortcuts/Internet Shortcuts
----------------

"JezB" <jezbroadsword@blueyonder.co.uk> wrote in message
news:%2308bQb90FHA.736@tk2msftngp13.phx.gbl...
> I'm finding that form-level mouse events are not being fired when the
> mouse is over any control within the form. Is there any way to enforce
> this ? I want generic MouseLeave and MouseMove events that fire on the
> form even when the mouse is over controls within the form (and even if
> these controls themselves have a MouseMove event, I'd want BOTH to be
> fired).
>



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off