📄 attendancedlg.h
字号:
// AttendanceDlg.h : header file
//
#if !defined(AFX_ATTENDANCEDLG_H__8ED1B576_CCD3_427B_A09D_08BD71E2CD49__INCLUDED_)
#define AFX_ATTENDANCEDLG_H__8ED1B576_CCD3_427B_A09D_08BD71E2CD49__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "ChildFrame.h"
/////////////////////////////////////////////////////////////////////////////
// CAttendanceDlg dialog
class CAttendanceDlg : public CDialog
{
// Construction
public:
int m_iPrtSel;
int m_iMonths;
int m_iLeft;
int m_iTop;
int m_iRight;
int m_iBottom;
CAttendanceDlg(CWnd* pParent = NULL); // standard constructor
CToolBarCtrl *m_toolbarCtrl ;
TBBUTTON btn[6];
BOOL NotifyFunction( UINT id, NMHDR * pTTTStruct, LRESULT * pResult );
void SetToolBarPosition(int pos);
// Dialog Data
//{{AFX_DATA(CAttendanceDlg)
enum { IDD = IDD_ATTENDANCE_DIALOG };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CAttendanceDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CAttendanceDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnFileOpen();
afx_msg void OnFileSaveas();
afx_msg void OnPrint();
afx_msg void OnPrintPreview();
afx_msg void OnAbout();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
CChildFrame* m_pChildFrame;
CString m_sSavePath;
CString m_sOpenPath;
CString m_sAttendFile;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_ATTENDANCEDLG_H__8ED1B576_CCD3_427B_A09D_08BD71E2CD49__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -