?? logindlg.h
字號:
#if !defined(AFX_LOGINDLG_H__DA028CCE_837F_4BAE_BE30_8FEB7E5645DD__INCLUDED_)
#define AFX_LOGINDLG_H__DA028CCE_837F_4BAE_BE30_8FEB7E5645DD__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// LogInDlg.h : header file
//
#include "MyStatic.h"
/////////////////////////////////////////////////////////////////////////////
// CLogInDlg dialog
//按鈕狀態(tài)
enum CButtonState{bsNone,bsIni,bsMin,bsMax,bsRes,bsClose};
class CLogInDlg : public CDialog
{
// Construction
public:
CLogInDlg(CWnd* pParent = NULL); // standard constructor
CDatabase m_database;
int * b_Login;
int count;
// Dialog Data
//{{AFX_DATA(CLogInDlg)
enum { IDD = IDD_LOGIN };
MyStatic m_label2;
MyStatic m_label1;
CString m_strUsername;
CString m_strPassword;
//}}AFX_DATA
BOOL m_IsMax; //是否處于最大化狀態(tài)
int m_BorderWidth; //邊框?qū)挾? int m_BorderHeight; //邊框高度
int m_CaptionHeight; //標(biāo)題欄的高度
CString m_Caption; //窗口標(biāo)題
COLORREF m_CapitonColor; //標(biāo)題字體顏色
CFont m_CaptionFont; //標(biāo)題字體
int m_ButtonWidth; //按鈕位圖寬度
int m_ButtonHeight; //按鈕位圖高度
BOOL m_FirstShow; //窗口首次被顯示
CRect m_OrigonRect;//原始窗口區(qū)域
CRect m_IniRect,m_MinRect,m_MaxRect,m_CloseRect;//標(biāo)題欄按鈕的顯示區(qū)域
enum CButtonState m_ButtonState; //按鈕狀態(tài)
BOOL m_IsDrawForm;//是否需要繪制窗體
void DrawForm();
void DrawFormCaption();
// 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 void OnOK();
virtual BOOL OnInitDialog();
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
afx_msg void OnPaint();
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnNcLButtonDblClk(UINT nHitTest, CPoint point);
afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
afx_msg void OnNcLButtonDown(UINT nHitTest, CPoint point);
afx_msg void OnNcPaint();
afx_msg void OnNcMouseMove(UINT nHitTest, CPoint point);
afx_msg void OnWindowPosChanged(WINDOWPOS FAR* lpwndpos);
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg BOOL OnNcActivate(BOOL bActive);
afx_msg void OnActivate(UINT nState, CWnd* pWndOther, BOOL bMinimized);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_LOGINDLG_H__DA028CCE_837F_4BAE_BE30_8FEB7E5645DD__INCLUDED_)
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -