NI Home
Cart Cart | Help
Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Currently Being Moderated

Mouse Wheel support

VERSION 4

Created on: Mar 20, 2007 11:14 AM by BetaCommunityContent - Last Modified:  Mar 20, 2007 11:15 AM by BetaCommunityContent

REQUIREMENTS:
Application Software: LabWindows/CVI Base Development System 8.0.1
Driver Software: NI-VISA 3.3.1
Hardware Family: 6B
Add-on Software: LabVIEW Embedded Module for BlackFin Processors 8.6
Product Category: Desktop Execution Trace Toolkit
Development Topic: Appending Strings
Industry: Automotive
Application Type: Control
Technology: Embedded Devices

 

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 WIN32WINNT 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. 

 

 

Downloads:
Tags:
Average User Rating
(0 ratings)




There are no comments on this document

More Like This

  • Retrieving data ...