创建与 MFC 对话框关联的类和控件
class AsdkAcUiDialogSample : public CAcUiDialog 更改类型以使用 AcUi 控件。在AsdkAcUiDialogSample.h 中,将控件列表更改为以下内容: CAcUiSymbolComboBox m_ctrlRegAppComboBox; CAcUiListBox m_ctrlBlockListBox; CAcUiPickButton m_ctrlPickButton; CAcUiPickButton m_ctrlAngleButton; CAcUiAngleEdit m_ctrlAngleEdit; CAcUiNumericEdit m_ctrlXPtEdit; CAcUiNumericEdit m_ctrlYPtEdit; CAcUiNumericEdit m_ctrlZPtEdit; 添加帮助程序函数和成员变量以跟踪点和角度值。这些应该添加到类的公共部分: AcGePoint3d m_ptValue; double m_dAngle; void DisplayPoint(); bool ValidatePoint(); void DisplayAngle(); bool ValidateAngle(); void DisplayBlocks(); void DisplayRegApps(); |
|Archiver|CAD开发者社区 ( 苏ICP备2022047690号-1 苏公网安备32011402011833)
GMT+8, 2025-1-8 19:17
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.