Home All Groups Group Topic Archive Search About
Author
10 Oct 2006 2:17 PM
sammartin
hi,

I've got a custom control which I've overriden the OnMouseWheel event and
made it scroll.  Simple enough.

This control has a series of child controls which I'd like it to pass on the
MouseWheel events to if the mouse if over the control (assuming i need to do
a hit test?) (at the moment, the child control needs to be clicked on to
assume focus before it received the mouse wheel events)

Anyway, I just wondered how the easiest way of doing this is?  is there
something easy that does this?  any references anyone knows about that i
could read?

TIA
Sam

Author
10 Oct 2006 5:16 PM
Gaurav Vaish (www.EdujiniOnline.com)
> MouseWheel events to if the mouse if over the control (assuming i need to
> do
> a hit test?) (at the moment, the child control needs to be clicked on to
> assume focus before it received the mouse wheel events)

Also track OnMouseEnter / MouseEnter event.


--
Happy Hacking,
Gaurav Vaish | www.mastergaurav.com
www.edujinionline.com
http://eduzine.edujinionline.com
-----------------------------------------

AddThis Social Bookmark Button