SortDlg.h
资源名称:vc开发gis代码.rar [点击查看]
上传用户:jndfzt02
上传日期:2007-04-25
资源大小:391k
文件大小:2k
源码类别:
GIS编程
开发平台:
Visual C++
- #if !defined(AFX_SORTDLG_H__F65572D3_1ABE_11D3_B419_32BCD0000000__INCLUDED_)
- #define AFX_SORTDLG_H__F65572D3_1ABE_11D3_B419_32BCD0000000__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // SortDlg.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // CSortDlg dialog
- class Data1Set;
- class CDataBaseSet;
- class CSortDlg : public CDialog
- {
- // Construction
- public:
- CSortDlg(CDataBaseSet* pSet,CWnd* pParent = NULL); // standard constructor
- public:
- void MakeStr();
- int BreakSortStr(CString m_str);
- CString m_strSort;
- protected:
- CDataBaseSet* m_pSet;
- short m_NumbSort; //排序字段的数目
- CODBCFieldInfo pFieldInfo[200];
- short m_NumbField;
- CString strSort[10];
- BOOL b_Sort[10];
- CListBox *plist1;
- CComboBox *pcom1;
- // Dialog Data
- //{{AFX_DATA(CSortDlg)
- enum { IDD = IDD_SORT };
- // NOTE: the ClassWizard will add data members here
- //}}AFX_DATA
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CSortDlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- // Generated message map functions
- //{{AFX_MSG(CSortDlg)
- virtual BOOL OnInitDialog();
- afx_msg void OnSortAdd();
- afx_msg void OnSortDelete();
- afx_msg void OnSortInsert();
- afx_msg void OnSortModify();
- virtual void OnOK();
- afx_msg void OnSelchangeList1();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_SORTDLG_H__F65572D3_1ABE_11D3_B419_32BCD0000000__INCLUDED_)