DynaArrayDlg.h
资源名称:DynaArray.rar [点击查看]
上传用户:dyt128
上传日期:2022-06-23
资源大小:1845k
文件大小:2k
源码类别:
对话框与窗口
开发平台:
Visual C++
- // DynaArrayDlg.h : header file
- //
- #if !defined(AFX_DYNAARRAYDLG_H__6DD7600F_5C9F_4C22_94C7_EB38526031F0__INCLUDED_)
- #define AFX_DYNAARRAYDLG_H__6DD7600F_5C9F_4C22_94C7_EB38526031F0__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include <afxtempl.h>
- /////////////////////////////////////////////////////////////////////////////
- // CDynaArrayDlg dialog
- class CDynaArrayDlg : public CDialog
- {
- // Construction
- public:
- CDynaArrayDlg(CWnd* pParent = NULL); // standard constructor
- // Dialog Data
- //{{AFX_DATA(CDynaArrayDlg)
- enum { IDD = IDD_DYNAARRAY_DIALOG };
- int m_index;
- int m_num1;
- int m_num2;
- int m_num3;
- int m_num4;
- int m_showindex;
- int m_shownum1;
- int m_shownum2;
- int m_shownum3;
- int m_shownum4;
- struct data
- {
- int n1;
- int n2;
- int n3;
- int n4;
- };
- CArray <data,data> data1;
- //}}AFX_DATA
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CDynaArrayDlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- HICON m_hIcon;
- // Generated message map functions
- //{{AFX_MSG(CDynaArrayDlg)
- virtual BOOL OnInitDialog();
- afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
- afx_msg void OnPaint();
- afx_msg HCURSOR OnQueryDragIcon();
- afx_msg void OnAdd();
- afx_msg void OnDelate();
- afx_msg void OnShow();
- afx_msg void OnEdit();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_DYNAARRAYDLG_H__6DD7600F_5C9F_4C22_94C7_EB38526031F0__INCLUDED_)