in Delphi TIPS :: TGraphicControl descendant controls do not receive mouse wheel messages in Delphi. TImage is one such control. Here's how to expose the OnMouseWheel event handler for the TImage Delphi control. What's more: how to handle mouse wheel messages for any TControl descendant.
I had a need to handle mouse wheel for a TImage control. Was displaying pages of a PDF document (using Quick PDF Library) and wanted to move to the the next / previous page when the user rotates the mouse wheel. Since TImage does not expose mouse wheel message, had to find a solution.
Read the full article to learn how to Add Mouse Wheel Processing For TControl Descendants.
Related:
Comments
No comments yet. Leave a Comment

