📄 qqlogindlg.h
字号:
// QQLoginDlg.h : header file
//
#if !defined(AFX_QQLOGINDLG_H__9D848012_5E60_44AA_A8D9_72452D72DF48__INCLUDED_)
#define AFX_QQLOGINDLG_H__9D848012_5E60_44AA_A8D9_72452D72DF48__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CQQLoginDlg dialog
#include <io.h>
#include "AddNumberDlg.h"
#include "PathDlg.h"
#include "Time.h"
#include "class\\Regedit.h"
#include "class\\Time.h"
#include "class\\FileDlg.h"
#include "class\\MD5Ex.h"
#include "class\\HoverButton.h"
#include "xmllib\\tinyxml.h"
#pragma comment(lib, "xmllib\\tinyxml.lib")
#define FILENAME "NumberList.xml"
#define APPNAME "QQLogin"
class CQQLoginDlg : public CDialog
{
// Construction
public:
CQQLoginDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CQQLoginDlg)
enum { IDD = IDD_QQLOGIN_DIALOG };
HoverButton m_BtnHelp;
CListCtrl m_NumberList;
int m_nLoginType;
BOOL m_nAutoRun;
BOOL m_bExit;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CQQLoginDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CQQLoginDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnRclickListNumber(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnRButtonUp(UINT nFlags, CPoint point);
afx_msg void OnStartup();
afx_msg void OnLoginlink();
afx_msg void OnLogin();
afx_msg void OnExit();
afx_msg void OnDel();
afx_msg void OnAdd();
afx_msg void OnAbout();
afx_msg void OnCheckAutostart();
afx_msg void OnBtnHelp();
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
typedef struct _NUMBERINFO
{
string QQUIN ;
string PWDHASH ;
string STAT ;
string LASTTIME ;
string NAME ;
} NUMBERINFO, *PNUMBERINFO ;
vector<NUMBERINFO> m_NumberInfo;
string m_strQQAppName;
string m_strTMAppName;
public:
bool SaveNumberList();
void InitNumberList();
private:
bool ReadNumberList();
bool Login( string AppName, string QQUIN, string PWDHASH, string STAT );
void InitTencentAppName();
HRESULT CreateLnk(char* szTargetName, char* szSaveName, char* szParam = NULL);
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_QQLOGINDLG_H__9D848012_5E60_44AA_A8D9_72452D72DF48__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -