📄 userlogin.h
字号:
#if !defined(AFX_USERLOGIN_H__4C4D66E3_927C_4AF0_BB11_F5B1FAC2559D__INCLUDED_)
#define AFX_USERLOGIN_H__4C4D66E3_927C_4AF0_BB11_F5B1FAC2559D__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// UserLogin.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CUserLogin dialog
#include "WinXPButtonST.h" // XP风格按钮
#include "CreditsCtrl.h" //加入荣誉显示
class CUserLogin : public CDialog
{
// Construction
public:
/*static void DrawCreditsBackground(CDC *pDC, RECT rect, BOOL bAnimate, DWORD lParam);
void SizeWindow(int ReduceHeight, bool bExtend); //伸展或收缩对话框
//"关于"对话框中的荣誉显示
int m_nReducedHeight; //收缩状态下的窗口高度
bool m_bVertical; //是否显示荣誉标志
*/
CUserLogin(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CUserLogin)
enum { IDD = IDD_LOGIN };
CString m_user;
CString m_password;
CString m_style;
CWinXPButtonST m_set;
CWinXPButtonST Onok;
CWinXPButtonST Exit;
CWinXPButtonST about;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CUserLogin)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
CCreditsCtrl m_wndCredits;
// Generated message map functions
//{{AFX_MSG(CUserLogin)
virtual void OnCancel();
afx_msg void OnLogin();
afx_msg void OnButton1();
afx_msg void OnButton2();
//afx_msg void OnMore();
//virtual BOOL OnInitDialog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_USERLOGIN_H__4C4D66E3_927C_4AF0_BB11_F5B1FAC2559D__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -