I have created a delphi component which descends from TGraphicControl. Is it possible to add support for mouse wheels?
--- Edit ---
I\'ve exposed the Mou
TGraphicControl descends from TControl, which already has mouse-wheel support. See the wm_MouseWheel message, the DoMouseWheel, DoMouseWheelDown, DoMouseWheelUp, and MouseWheelHandler methods, and the WheelAccumulator property.
TGraphicControl
TControl
wm_MouseWheel
DoMouseWheel
DoMouseWheelDown
DoMouseWheelUp
MouseWheelHandler
WheelAccumulator