This code shows how to use the Mouse Wheel to scroll text boxes.
This example shows how to use the mouse wheel to scroll text boxes. Of course, this code can beeasily adjusted to do other things with the mouse wheel, like scrolling trought the pictures of a picture ring, graph zooming etc...
IMPORTANT NOTE: for WM_MOUSWHEEL to be defined, windows.h should be included, and _WIN32_WINNT should be at least defined to 0x0400. To make sure this last definition is made, open the Build Options window (can be found in the Options menu), and enter /D_WIN32_WINNT=0x0400 in the "Compiler Defines" field.
REQUIREMENTS:Application Software: LabWindows/CVI Base Package 8.0.1