Chapter 3Measurement Studio User Manual 3-24 ni.comUtilityUse the Measurement Studio Utility Visual C++ class library to easilyaccess Windows operating system functionality. Table 3-2 lists classes inthe Utility class library and their functionality.Table 3-2. Utility Class Names and FunctionalitiesUtility Class FunctionalityCNiFile CNiFile extends the MFC CStdioFile class by addingstreaming operators for standard Visual C++ data types. Inaddition, a variety of class static functions add the ability tomanipulate file, path, directory, and drive attributes.CNiSound CNiSound encapsulates an interface for generating synchronousand asynchronous tones at specific frequencies.CNiSystem CNiSystem provides the following functionality:• Getting and setting system preferences• Displaying help files• Getting input for the keyboardCNiSystemTrayIcon CNiSystemTrayIcon encapsulates the interface to the systemtray area that displays changes in the status of an application. TheCNiSystemTrayIcon class includes the following features:• Icons—You can place an icon in the system tray to notify theuser of changes in an application status.• String tooltips—You can associate a string tooltip with an iconand display the tooltip when the user hovers over the icon.• Shortcut menus—You can associate a shortcut menu with anicon and display the shortcut menu when the user right-clicksthe icon.• Overridable event handling.