Notifies the control of mouse wheel shift.

virtual bool MouseWheel(
  int nNotches


Number of notches the mouse wheel was rotated through. A positive value indicates that the wheel was rotated forward, away from the user; a negative value indicates that the wheel was rotated backward, toward the user.

Return value

If the control has modified it's state and wants the caller to be notified, MouseWheel should return true. Otherwise it should return false.


hgeGUIObject has default implementation, so you could not redefine this method if you don't need it.


Header: hgegui.h

See also

MouseLButton, MouseRButton, MouseMove