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

📄 controlattdlg.h

📁 实现mapgis下各种工作区(点,线,面,网)下的 属性及其属性记录操作
💻 H
字号:
// ControlAttDlg.h : header file
//

#if !defined(AFX_CONTROLATTDLG_H__538B4C27_0451_4E03_B47A_7290771A1600__INCLUDED_)
#define AFX_CONTROLATTDLG_H__538B4C27_0451_4E03_B47A_7290771A1600__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CControlAttDlg dialog
#include "ComboListCtrl.h"

class CControlAttDlg : public CDialog
{

// Construction
public:
	void GetAtt(short ai,short type);//取出属性记录
	void init(CString filename,short type,CString AttorAttstr);
	bool isAttstr;

	int fldcount;
	void GetAttstr(short ai,short type);//取得属性结构
	void OnMenuItemsClick(UINT id,CString attorats);//打开点线面表的映射
	
	CControlAttDlg(CWnd* pParent = NULL);	// standard constructor

    AREA_HINST m_AH;
    short m_Ai;
	short TYPE;//文件类型(传给api函数)
CATT_STRU* stru;
// Dialog Data
	//{{AFX_DATA(CControlAttDlg)
	enum { IDD = IDD_CONTROLATT_DIALOG };
    CComboListCtrl		m_AttStruct;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CControlAttDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnRclickList1(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnMenuINSERT();
	afx_msg void OnMenuDELETE();
	afx_msg void OnMenuQUERY();
	afx_msg void OnMenuOpenLINats();
	afx_msg void OnMenuOpenLINatt();
	afx_msg void OnMenuOpenPointats();
	afx_msg void OnMenuOpenPointatt();
	afx_msg void OnMenuOpenREGats();
	afx_msg void OnMenuOpenREGatt();
	afx_msg void OnMenuOpenTableatt();
	afx_msg void OnMenuOpenTableats();
	//}}AFX_MSG
	afx_msg LRESULT OnEndLabelEditVariableCriteria(WPARAM wParam, LPARAM lParam);
	afx_msg LRESULT PopulateComboList(WPARAM wParam, LPARAM lParam);
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_CONTROLATTDLG_H__538B4C27_0451_4E03_B47A_7290771A1600__INCLUDED_)

⌨️ 快捷键说明

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