📄 log.h
字号:
#if !defined(AFX_LOG_H__BEDFF50D_8A7C_4990_8828_0104DCA835C2__INCLUDED_)
#define AFX_LOG_H__BEDFF50D_8A7C_4990_8828_0104DCA835C2__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Log.h : header file
//
#include "RRecordset.h"
/////////////////////////////////////////////////////////////////////////////
// CLog dialog
struct MyData{
CListCtrl *listctrl; //控件指针
int isub; //第几列
int seq; //1为顺序,0为逆序
};
class CLog : public CDialog
{
// Construction
public:
CLog(CWnd* pParent = NULL); // standard constructor
RRecordset m_db;
// Dialog Data
//{{AFX_DATA(CLog)
enum { IDD = IDD_DIALOG_LOG };
CListCtrl m_need;
CListCtrl m_log;
CComboBox m_year;
CComboBox m_month;
//}}AFX_DATA
int IsInsert(CString SIP);
void Deal(CString GetIP,CString Gettime,int Getyear,int Getmonth);
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CLog)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CLog)
virtual BOOL OnInitDialog();
afx_msg void OnButtonShow();
afx_msg void OnButtonDetect();
afx_msg void OnButtonAdd();
afx_msg void OnButtonDel();
afx_msg void OnButtonSet();
afx_msg void OnColumnclickListLog(NMHDR* pNMHDR, LRESULT* pResult);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_LOG_H__BEDFF50D_8A7C_4990_8828_0104DCA835C2__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -