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

📄 sydlg.h

📁 一个实用的GIS系统的系统维护模块
💻 H
字号:
#if !defined(AFX_SYDLG_H__33C45802_E157_41D6_B5CA_D24265934182__INCLUDED_)
#define AFX_SYDLG_H__33C45802_E157_41D6_B5CA_D24265934182__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SyDlg.h : header file
//
#include "XListCtrl.h"
#include "WinXPButtonST.h"

#define Max 999
/////////////////////////////////////////////////////////////////////////////
// CSyDlg dialog


class CSyDlg : public CDialog
{
// Construction
public:
	int cursel;
	int ct;
	int pt;
	int tag;
    int m_nCurrentSel;
	BOOL m_bAutoSave;
    _variant_t vQID,vQNAME,vQDES,vQCODE;
    _RecordsetPtr m_pRecordset,m_pRecordset2;
	int pid;
	
   struct ShuXing
   {
    int  qid;
    CString  qname;
	CString  qcode;
	CString  qdes;
	BOOL bNewflag;
   public:
	ShuXing() { bNewflag = FALSE;   }
   };

   ShuXing Info[Max];

	CSyDlg(CWnd* pParent = NULL);   // standard constructor

	BOOL ConflictWithOldUserInDBAUser(LPCTSTR userName);
	BOOL ConflictWithOldGroupUser(long groupID,LPCTSTR groupName);
		
	BOOL				Create();
	virtual void		OnCancel();
	
// Dialog Data
	//{{AFX_DATA(CSyDlg)
	enum { IDD = IDD_QUANXIAN };
	CWinXPButtonST	m_qsxx;
	CWinXPButtonST	m_apply;
	CWinXPButtonST	m_Del;
	CWinXPButtonST	m_add;
	CXListCtrl	m_pListCtrl;
	CWinXPButtonST	m_cancel;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CSyDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnItemchangedList1(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnButtonadd();
	afx_msg void OnButtonapply();
	afx_msg void OnButtondel();
	afx_msg void OnButtonset();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_SYDLG_H__33C45802_E157_41D6_B5CA_D24265934182__INCLUDED_)

⌨️ 快捷键说明

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