📄 logindlg.h
字号:
#if !defined(AFX_LOGINDLG_H__3C1C486B_3E14_47F5_ACC8_B62C0CB5CD9E__INCLUDED_)
#define AFX_LOGINDLG_H__3C1C486B_3E14_47F5_ACC8_B62C0CB5CD9E__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// LoginDlg.h : header file
//
#include "BmpButton.h"
/////////////////////////////////////////////////////////////////////////////
// CLoginDlg dialog
class CLoginDlg : public CDialog
{
// Construction
public:
CString GetUserName();
BOOL DrawSystemButton(CWindowDC &dc, CBitmap &bitmap);
BOOL DrawTitleBar(CWindowDC &dc);
BOOL CheckLogin(CString &Name, CString &Password);
CLoginDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CLoginDlg)
enum { IDD = IDD_LOGIN_DIALOG };
CBmpButton m_CBmpBtn_Cancel;
CBmpButton m_CBmpBtn_OK;
CEdit m_CEditPassword;
CEdit m_CEditLogin;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CLoginDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CLoginDlg)
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg void OnOK();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
HICON m_hIcon;
CBitmap m_Cross;
CBitmap m_Title;
HBITMAP m_BitmapCancel;
HBITMAP m_BitmapOK;
CString m_UserName;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_LOGINDLG_H__3C1C486B_3E14_47F5_ACC8_B62C0CB5CD9E__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -