[DUG] Capturing mouse wheel

Phil Middlemiss phil at tumonz.co.nz
Thu Jul 27 09:17:51 NZST 2006


We have a component that can use the mouse wheel - unfortunately, we 
also use another component (not ours) that uses the mouse wheel. The 
standard windows convention seems to be that whatever window has the 
focus gets to process the message first. So even though the mouse is 
over our component when the mouse wheel is rolled, the other component 
gets the message.

I seem to remember some time ago seeing how to replace the main 
TApplication message handler with your own, but can't remember how now. 
Is this possible? What is the technique?

Phil.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: phil.vcf
Type: text/x-vcard
Size: 250 bytes
Desc: not available
Url : http://ns3.123.co.nz/pipermail/delphi/attachments/20060727/df5b65c4/phil.vcf


More information about the Delphi mailing list