From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.



在Microsoft Visual Studio 6.0中 撤销放大或细化波形图



主要软件:
主要软件版本: 6.0
主要软件修正版本: 7.0
次要软件: N/A

问题: 我该如何在Microsoft Visual Studio 6.0 撤销放大或细化波形图

解答:

撤销模式只在Measurement Studio7.x或之后的版本。如果您正在使用这些版本,请参考KnowledgeBase 3K79711J: How to Undo After Zooming with Measurements Studio’s CWGraph

但是,如果您使用了Measurement Studio 6.0 您可以更新到目前版本的所有Measurement Studio控件和库,参考Drivers and Updates: Measurement Studio Version 6.0 for Windows--Update for Visual Basic 6.0 and Visual C++ 6.0 (patch)。在NI的网站上,您可以免费下到这些资源。

使用立即数:

文件Mstudio80NewFeaturesforVS60.html有一个Using the New Features in Visual C++ 6.0的小节,其中包含了使用立即数替代宏定义并赋值给CWGraphTrackModes Enumeration Value Integer Translations

例如,替代宏定义,ZoomRect XYWithUndo, 您可以使用立即数10

不适用如下的代码:

m_graph.TrackMode = CNiGraph::ZoomRectXYWithUndo;

而替代地使用:

m_graph.TrackMode = (CNiGraph::GraphTrackModes)10;



相关链接:

附件:





报告日期: 04/26/2005
最近更新: 08/23/2011
文档编号: 3KPE1O4Y