⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 myasmdlg.h

📁 VC+XML+UG OPEN API做的自动装配
💻 H
字号:
#if !defined(AFX_MYASMDLG_H__26B53BE0_45AE_4102_A38E_05D334B8E487__INCLUDED_)
#define AFX_MYASMDLG_H__26B53BE0_45AE_4102_A38E_05D334B8E487__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MyAsmDlg.h : header file
//
#include "AsmXMLCtrl.h"
/////////////////////////////////////////////////////////////////////////////
// MyAsmDlg dialog

class MyAsmDlg : public CDialog
{
// Construction
public:
	MyAsmDlg(CWnd* pParent = NULL);   // standard constructor

//member variable
public:
	CAsmXMLCtrl	m_xml;//xml file
	CTreeCtrl	m_Tree;
	CImageList m_asm_ImList;//装配树控件图标链


// Dialog Data
	//{{AFX_DATA(MyAsmDlg)
	enum { IDD = IDD_MAIN_DLG };
	
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(MyAsmDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual void PostNcDestroy();
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;
	void AddToTree(tag_t child_tag,HTREEITEM faItem);
	// Generated message map functions
	//{{AFX_MSG(MyAsmDlg)
	virtual BOOL OnInitDialog();
	virtual void OnOK();
	virtual HCURSOR OnQueryDragIcon();
	afx_msg void OnBtnRefreshtree();
	afx_msg void OnPaint();
	afx_msg void OnLoadAsmFromXML();
	afx_msg void OnBtnAsm();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MYASMDLG_H__26B53BE0_45AE_4102_A38E_05D334B8E487__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -