|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
mousewheel eventshi,
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 > MouseWheel events to if the mouse if over the control (assuming i need to Also track OnMouseEnter / MouseEnter event.> 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) -- Happy Hacking, Gaurav Vaish | www.mastergaurav.com www.edujinionline.com http://eduzine.edujinionline.com ----------------------------------------- |
|||||||||||||||||||||||