Which event handler used when scroll changes when you tab controls

I

illegal.prime

Hi all, I want to hook into the event handler that is used when the
scroll changes when you tab through controls.

I expected this event to get sent through:
protected override void WndProc(ref Message msg)

But, this method is not triggered when the user is just tabbing through
controls.

Anyone know which hanlder list I have to add my own custom handler to
or which handler I should override.

Thanks,
Novice
 
I

illegal.prime

So far the only thing I've found is:
protected override bool ProcessKeyPreview(ref Message m)

But this is just when any key is pressed so I would end up having to
filter on the tab key press. Also, from a design perspective this
isn't really great, since I'm using the tab character to check for a
possible scroll change. In truth, I want to just catch the scroll
change rather than another event which could lead to a scroll. Worse
still there could be other things a user could do to cause a scroll and
even worse than that, what if I change my application in such a way
that tab'ing through controls will no longer cause a scroll.

There must be a lower level point at which I can actually catch a
scroll event.

Novice
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top