offsetdatesdlg.h
来自「管理项目进度工具的原代码」· C头文件 代码 · 共 70 行
H
70 行
#if !defined(AFX_OFFSETDATESDLG_H__9B2E2FE0_370B_41F4_98C1_2D3BB6D1526E__INCLUDED_)
#define AFX_OFFSETDATESDLG_H__9B2E2FE0_370B_41F4_98C1_2D3BB6D1526E__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// OffsetDatesDlg.h : header file
//
#include "..\shared\dialoghelper.h"
/////////////////////////////////////////////////////////////////////////////
// COffsetDatesDlg dialog
enum ODD_UNITS { ODDU_DAYS, ODDU_WEEKS, ODDU_MONTHS };
enum
{
ODD_STARTDATE = 0x1,
ODD_DUEDATE = 0x2,
ODD_DONEDATE = 0x4,
};
class COffsetDatesDlg : public CDialog, public CDialogHelper
{
// Construction
public:
COffsetDatesDlg(CWnd* pParent = NULL); // standard constructor
DWORD GetOffsetWhat() const;
int GetOffsetAmount(ODD_UNITS& nUnits) const;
BOOL GetOffsetSubtasks() const { return m_bOffsetSubtasks; }
protected:
// Dialog Data
//{{AFX_DATA(COffsetDatesDlg)
enum { IDD = IDD_OFFSETDATES_DIALOG };
BOOL m_bOffsetStartDate;
BOOL m_bOffsetDueDate;
BOOL m_bOffsetDoneDate;
int m_bForward;
int m_nOffsetBy;
int m_nOffsetByUnits;
BOOL m_bOffsetSubtasks;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(COffsetDatesDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
virtual void OnOK();
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(COffsetDatesDlg)
// NOTE: the ClassWizard will add member functions here
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_OFFSETDATESDLG_H__9B2E2FE0_370B_41F4_98C1_2D3BB6D1526E__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?