📄 optiondlg.h
字号:
#include "afxcmn.h"
#if !defined(AFX_OPTIONDLG_H__095217CD_CFF0_4626_81C9_50EF2D25AEB0__INCLUDED_)
#define AFX_OPTIONDLG_H__095217CD_CFF0_4626_81C9_50EF2D25AEB0__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// OptionDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// COptionDlg dialog
class COptionDlg : public CDialog
{
// Construction
public:
void ReadPlanFromDB();
COptionDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(COptionDlg)
enum { IDD = IDD_OPTION_DIALOG };
CListCtrl m_ctlListBox;
CTime m_tPlanTime;
CTime m_tPlanDate;
CString m_strPlan;
int m_strPri;
int m_nMode;
int m_nPri;
int m_nRecordIndex; //记录索引
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(COptionDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(COptionDlg)
virtual BOOL OnInitDialog();
virtual void OnOK();
afx_msg void OnRecordsetEdit();
afx_msg void OnRecordsetDel();
afx_msg void OnKillfocusEditPlan();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
// afx_msg void OnLvnItemchangedListPlan(NMHDR *pNMHDR, LRESULT *pResult);
private:
// 标志变量,指示是否已经选定了一条记录
BOOL bIsSelected;
public:
// afx_msg void OnBnClickedOk();
afx_msg void OnNMDblclkListPlan(NMHDR *pNMHDR, LRESULT *pResult);
// 提示模式组合矿
CComboBoxEx m_ctlComboMode;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_OPTIONDLG_H__095217CD_CFF0_4626_81C9_50EF2D25AEB0__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -