chat.h
来自「偶作的毕业设计程序」· C头文件 代码 · 共 102 行
H
102 行
#if !defined(AFX_CHAT_H__F2CB7FF1_13CA_4CCA_9686_401571853CD1__INCLUDED_)
#define AFX_CHAT_H__F2CB7FF1_13CA_4CCA_9686_401571853CD1__INCLUDED_
#include "resource.h"
#include "LogMngr.h"
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Chat.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CChat dialog
class CChat : public CDialog
{
// Construction
public:
void BorrowTotal();
CChat(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CChat)
enum { IDD = IDD_DIALOG3 };
CComboBox m_UserNameCtrl;
CComboBox m_GeShiCtrl;
CComboBox m_SoftTypeCtrl;
CComboBox m_XinghaoCtrl;
CComboBox m_AuthorCtrl;
CComboBox m_SoftNameCtrl;
CComboBox m_NumberCtrl;
CButton m_TypeCtrl;
CListCtrl m_List2;
CListCtrl m_List1;
CString m_Pwd;
CString m_Context;
int m_Chattype;
CString m_Number;
CString m_Author;
CString m_Xinghao;
CString m_SoftType;
CString m_GeShi;
CString m_UserName;
CString m_SoftName;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CChat)
public:
virtual BOOL DestroyWindow();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CChat)
afx_msg void OnSummit();
afx_msg void OnBorrow();
afx_msg void OnReturn();
afx_msg void OnQuery();
afx_msg void OnClickList1(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnClickList2(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnRight();
afx_msg void OnLeft();
afx_msg void OnApply();
afx_msg void OnNext();
virtual BOOL OnInitDialog();
afx_msg void OnSelectAll();
afx_msg void OnCheck6();
afx_msg void OnCheck3();
afx_msg void OnCheck4();
afx_msg void OnCheck2();
afx_msg void OnCheck5();
afx_msg void OnCheck7();
afx_msg void OnDestroy();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
protected:
CLogMngr m_Log;
void UserApply();
void ManagerControl();
void ReturnTotal();
void BorrowSelect();
void Trash();
void Initiate();
_ConnectionPtr m_DBCnt;
_RecordsetPtr m_Record;
CString m_strSource;
bool m_fConnected;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CHAT_H__F2CB7FF1_13CA_4CCA_9686_401571853CD1__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?