Undo Zooming on a Measurement Studio Graph in Microsoft Visual Studio 6.0Primary Software: Measurement Studio>>Professional Edition (Base Package)Primary Software Version: 6.0 Primary Software Fixed Version: 7.0 Secondary Software: N/A
Problem: How do I undo zooming on my Measurement Studio graph in Microsoft Visual Studio 6.0? Solution: The Undo modes are only available in Measurement Studio 7.x and later. If you are using one of these versions or a later version, refer to KnowledgeBase 3K79711J: How to Undo After Zooming with Measurements Studio’s CWGraph. However, if you have Measurement Studio 6.0 you can upgrade to the current version of all Measurement Studio controls and libraries for Visual Studio 6.0. Refer to Drivers and Updates: Measurement Studio Version 6.0 for Windows--Update for Visual Basic 6.0 and Visual C++ 6.0 (patch) on the NI Web site to access the free patch. Using Direct Numbers The file Mstudio80NewFeaturesforVS60.html has a section labeled Using the New Features in Visual C++ 6.0. This section contains information on using direct numbers instead of the constants and gives the CWGraphTrackModes Enumeration Value Integer Translations. For instance, instead of using the constant, ZoomRect XYWithUndo, you type cast the numeric value, 10. Instead of using this code: m_graph.TrackMode = CNiGraph::ZoomRectXYWithUndo;m_graph.TrackMode = (CNiGraph::GraphTrackModes)10;Related Links: Drivers and Updates: Measurement Studio Version 6.0 for Windows--Update for Visual Basic 6.0 and Visual C++ 6.0 (patch) KnowledgeBase 3K79711J: How to Undo After Zooming with Measurements Studio’s CWGraph Attachments:
Report Date: 04/26/2005 Last Updated: 08/08/2006 Document ID: 3KPE1O4Y |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
