virtual ZRESULT mouseWheel( core::IProcParams* pProcParams,
DWORD nFlags,
short zDelta,
DWORD& nRetFlags);
Description
Mouse wheel scrolling event handler for an interactive tool.
The event handler is supplied with argument nFlags that specify which
mouse buttons are pressed (if any). A ret-val argument nRetFlags can be
used to indicate whether viewport(s) need to be updated and/or redrawn.
Parameters:
- pProcParams
- Procedure parameters to act on.
- nFlags
- Bitwise-or combination of MK_LBUTTON/MK_CONTROL/MK_SHIFT and so
on values which indicate input flags at the moment of mouse movement.
- zDelta
- Wheel scroll signed offset value.
- nRetFlags
- Optional ret-val arguent that can be filled with some
ZRESULT_* bits to force view redrawing.
See Also:
- Interface overview and methods
- mouseMove method