Chapter 3 Measurement Studio Visual C++ Class Libraries
© National Instruments Corporation 3-15 Measurement Studio User Manual

Utility

Use the Measurement Studio Utility Visual C++ class library to easily
access Windows operating system functionality. Table 3-1 lists classes in
the Utility class library and their functionality.
Table 3-1. Utility Class Names and Functionalities
Utility Class Functionality
CNiFile CNiFile extends the MFC CStdioFile class by adding streaming
operators for standard Visual C++ data types. In addition, a variety
of class static functions add the ability to manipulate file, path,
directory, and drive attributes.
CNiSound CNiSound encapsulates an interface for generating synchronous and
asynchronous tones at specific frequencies.
CNiSystem CNiSystem provides the following functionality:
Getting and setting system preferences
Displaying help files
Getting input for the keyboard
CNiSystemTrayIcon CNiSystemTrayIcon encapsulates the interface to the system tray
area that displays changes in the status of an application. The
CNiSystemTrayIcon class includes the following features:
Icons—You can place an icon in the system tray to notify the user
of changes in an application status.
String tooltips—You can associate a string tooltip with an icon
and display the tooltip when the user hovers over the icon.
Shortcut menus—You can associate a shortcut menu with an icon
and display the shortcut menu when the user right-clicks the icon.
Overridable event handling.