Linux multi-monitor fullscreen support
[ryzomcore.git] / nelns / login_system / nel_launcher_windows_ext / ProgressDlg.h
bloba9dc0b040e3d070da9bc1b5ab9df75642ebd0d4c
1 #if !defined(AFX_PROGRESSDLG_H__D403A82B_08B3_46C2_964B_910B249761FE__INCLUDED_)
2 #define AFX_PROGRESSDLG_H__D403A82B_08B3_46C2_964B_910B249761FE__INCLUDED_
4 #if _MSC_VER > 1000
5 #pragma once
6 #endif // _MSC_VER > 1000
7 // ProgressDlg.h : header file
8 //
10 #include "BarWnd.h"
11 #include "PictureHlp.h"
12 #include "resource.h"
14 /////////////////////////////////////////////////////////////////////////////
15 // CProgressDlg dialog
17 class CProgressDlg : public CDialog
19 // Construction
20 public:
21 CProgressDlg(CWnd* pParent = NULL); // standard constructor
22 void Show(BOOL bShow = TRUE);
23 void SetRange(int iRange);
24 void UpdatePos(int iPos);
25 void UpdateMsg(CString csMsg);
27 // Dialog Data
28 //{{AFX_DATA(CProgressDlg)
29 enum { IDD = IDD_PROGRESS };
30 // NOTE: the ClassWizard will add data members here
31 //}}AFX_DATA
33 private:
34 CBarWnd m_wndBar;
35 CBrush m_brushBG;
36 CFont m_font;
37 int m_iClr;
38 CPictureHlp m_pictBG;
40 // Overrides
41 // ClassWizard generated virtual function overrides
42 //{{AFX_VIRTUAL(CProgressDlg)
43 protected:
44 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
45 //}}AFX_VIRTUAL
47 // Implementation
48 protected:
50 // Generated message map functions
51 //{{AFX_MSG(CProgressDlg)
52 afx_msg void OnPaint();
53 virtual BOOL OnInitDialog();
54 afx_msg void OnDestroy();
55 afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
56 afx_msg BOOL OnEraseBkgnd(CDC* pDC);
57 //}}AFX_MSG
58 DECLARE_MESSAGE_MAP()
61 //{{AFX_INSERT_LOCATION}}
62 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
64 #endif // !defined(AFX_PROGRESSDLG_H__D403A82B_08B3_46C2_964B_910B249761FE__INCLUDED_)