00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef CINFO_H
00016 #define CINFO_H
00017
00018 #include "CString.h"
00019
00020 #define WINDOWS_LEAN_AND_MEAN
00021 #include <windows.h>
00022
00024 class CInfo {
00025 public:
00026 CInfo(HWND parent);
00027 ~CInfo();
00028
00030
00031
00033
00036 void doModal();
00037
00039
00040
00041
00043
00044 private:
00045 void init(HWND hwnd);
00046
00047
00048 BOOL doDlgProc(HWND, UINT, WPARAM, LPARAM);
00049 static BOOL CALLBACK dlgProc(HWND, UINT, WPARAM, LPARAM);
00050
00051 private:
00052 static CInfo* s_singleton;
00053
00054 HWND m_parent;
00055 };
00056
00057 #endif