OK, I found code from MSDN, use it. It hooks WH_MOUSE hook, I could refine
it and hooked WHEEL event only, but I couldn't define the direction and
"amount" of wheel rotation because standard mouse hook returns pointer to
MOUSEHOOKSTRUCT which does not contait that info... :-(
"Mitchell Geere" <mg****@telkomsa.net> wrote in message
news:e8*************@tk2msftngp13.phx.gbl...
Firstly porting from VB6 to C# is not so good, a rewerite is better due to
the fast differences in the two languages ... not sure about the mouse
scroll though... *scratches his head and starts googling*
"Evgeny Zoldin" <ez*****@hotmail.com> wrote in message
news:Ot**************@TK2MSFTNGP11.phx.gbl... Hi, ALL
Does anybody know how to capture mouse wheel events in C# occured on the
control that natively does not suppot them (e.g. MS Flex Grid)? I have
code hooks windows messages in VB6. I've translated it into C#, but it does
not work :-(
Any another idea?
Thanks
Evgueny