Click to open or copy the files for the MouseInfo sample.
This sample demonstrates the use of the mouse wheel and TrackMouseEvent API. It is an SDK sample for handling the WM_MOUSEWHEEL message. This applet displays MouseButton, MouseWheel, MouseMovement, and any mouse messages in the title bar.
This sample uses the following keywords:
createwindow; defwindowproc; dispatchmessage; getdc; getmessage; getstockobject; getsystemmetrics; gettextmetrics; loadcursor; loadicon; mainwndproc; makeintresource; messagebox; postquitmessage; registerclass; releasedc; setwindowpos; setwindowtext; showwindow; switch; trackmouseevent; translatemessage; updatewindow; winmain; wsprintf