khanat-opennel-code/code/nelns/login_system/nel_launcher_windows_ext/LoginDlg.h

65 lines
1.7 KiB
C
Raw Normal View History

2014-09-05 22:35:28 +00:00
#if !defined(AFX_LOGINDLG_H__1CF1A902_BE9A_4E32_9AAF_889E78BCC40B__INCLUDED_)
#define AFX_LOGINDLG_H__1CF1A902_BE9A_4E32_9AAF_889E78BCC40B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// LoginDlg.h : header file
//
#include "PictureHlp.h"
/////////////////////////////////////////////////////////////////////////////
// CLoginDlg dialog
class CLoginDlg : public CDialog
{
// Construction
public:
CLoginDlg(CWnd* pParent = NULL); // standard constructor
CString GetLogin();
CString GetPassword();
void OnLogin();
void OnQuit();
void OnOK();
BOOL AuthWeb();
private:
CBrush m_brush;
CBrush m_brushEdit;
CPictureHlp m_pictBG;
// Dialog Data
//{{AFX_DATA(CLoginDlg)
enum { IDD = IDD_LOGIN };
// NOTE: the ClassWizard will add data members here
//}}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)
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
virtual BOOL OnInitDialog();
afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
afx_msg void OnNcLButtonUp(UINT nHitTest, CPoint point);
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
//}}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__1CF1A902_BE9A_4E32_9AAF_889E78BCC40B__INCLUDED_)