📄 ucldlg.h
字号:
#include "DataSource.h"
#if !defined(AFX_UCLDLG_H__61F86926_8C72_4529_98B9_A18C7E6B0DF4__INCLUDED_)
#define AFX_UCLDLG_H__61F86926_8C72_4529_98B9_A18C7E6B0DF4__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// UclDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CUclDlg dialog
class CUclDlg : public CDialog
{
// Construction
public:
CString m_fileaddr;
CDataSource m_ds;
CUclDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CUclDlg)
enum { IDD = IDD_UCLDLG };
CEdit m_uclfilename;
CButton m_btupdate;
CButton m_btpre;
CButton m_btnext;
CButton m_btlast;
CButton m_btfirst;
CButton m_btdelete;
CButton m_btadd;
CEdit m_url;
CEdit m_author;
CEdit m_title;
CEdit m_subject;
CEdit m_keywords;
CEdit m_free;
CEdit m_date;
CEdit m_fileid;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CUclDlg)
public:
virtual int DoModal();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CUclDlg)
virtual BOOL OnInitDialog();
afx_msg void OnBtfirst();
afx_msg void OnBtprevis();
afx_msg void OnBtnext();
afx_msg void OnBtlast();
afx_msg void OnBtadd();
afx_msg void OnBtdelete();
afx_msg void OnBtupdate();
afx_msg void OnChangeFileid();
afx_msg void OnChangeAuthor();
afx_msg void OnChangeUrl();
afx_msg void OnChangeDate();
afx_msg void OnChangeTitle();
afx_msg void OnChangeKeywords();
afx_msg void OnChangeSubject();
afx_msg void OnChangeFree();
virtual void OnCancel();
afx_msg void OnClose();
afx_msg void OnBTbrowse();
//}}AFX_MSG
void LoadData();
void RefreshUpdateBtn();
void RefreshView();
BOOL IsNeedUpdate();
BOOL search();
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_UCLDLG_H__61F86926_8C72_4529_98B9_A18C7E6B0DF4__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -