From fa8dc3929db55d40afa5c11351efef354aeacf55 Mon Sep 17 00:00:00 2001 From: mjjo Date: Sat, 20 Jul 2013 23:23:08 +0000 Subject: [PATCH] --- HookMsg/HookMsg.h | 78 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 HookMsg/HookMsg.h diff --git a/HookMsg/HookMsg.h b/HookMsg/HookMsg.h new file mode 100644 index 0000000..43c044c --- /dev/null +++ b/HookMsg/HookMsg.h @@ -0,0 +1,78 @@ +// HookMsg.h : main header file for the HOOKMSG application +// + +#if !defined(AFX_HOOKMSG_H__86A22CDD_A862_4552_8701_F7A29A81022C__INCLUDED_) +#define AFX_HOOKMSG_H__86A22CDD_A862_4552_8701_F7A29A81022C__INCLUDED_ + +#if _MSC_VER > 1000 +#pragma once +#endif // _MSC_VER > 1000 + +#ifndef __AFXWIN_H__ + #error include 'stdafx.h' before including this file for PCH +#endif + +#include "resource.h" // main symbols + +///////////////////////////////////////////////////////////////////////////// +// CHookMsgApp: +// See HookMsg.cpp for the implementation of this class +// + +#include "HookMsg_i.h" + +class CHookMsgApp : public CWinApp +{ +public: + CHookMsgApp(); + + HWND m_hFindWindow[MAX_FIND]; // ½ÇÁ¦ ãÀº ÇÚµéÀ» ÀúÀåÇÔ. + BOOL m_bInfoTickerConnect; // °Å·¡¼Ò InfoTicker ¿¬°á¿©ºÎ. + BOOL m_bTopmostWnd; // ÃÖ»óÀ§ À©µµ¿ì »óÅÂ. + BOOL m_bShowLockContorlDlg; // »óÅÂÁ¦¾îâ º¸À̱â. + int m_nLogonSvr; // ·Î±×¿Â ÀÎÁõ¼­¹ö ¼±ÅÃ. + BOOL m_bLogonPasswdSave; // ·Î±×¿Â ÆÐ½º¿öµå ±â¾ï. + CString m_strLoginServer1; // ·Î±×¿Â ¼­¹ö1 ÁÖ¼Ò. + CString m_strLoginServer2; // ·Î±×¿Â ¼­¹ö2 ÁÖ¼Ò. + CString m_strLogonPasswd; // ·Î±×¿Â ÆÐ½º¿öµå. + CString m_strBankAccount; // °èÁ¹øÈ£. + CString m_strBankAccountPermitted; // ÀÎÁõÇã°¡µÈ °èÁ¹øÈ£ ¸®½ºÆ®. + BOOL m_bHotkeyCodeInputRule1; // Àá±è¶§ Áߺ¹/¼öµ¿Á¾¸ñÄÚµå ÀԷ¾ÊÇÔ. + BOOL m_bHogaLevelCalc; // ÇöÀç°¡¹ÌÀû¿ë½Ã ¸Å¸Å´Ü°è È£°¡ÀÚµ¿°è»ê Àû¿ë. + + BOOL RegWriteString(HKEY hKeyName, CString strPath, CString strSubKey, CString strValue); + CString RegReadString(HKEY hKeyName, CString strPath, CString strSubKey); + +// Overrides + // ClassWizard generated virtual function overrides + //{{AFX_VIRTUAL(CHookMsgApp) + public: + virtual BOOL InitInstance(); + virtual int ExitInstance(); + //}}AFX_VIRTUAL + +// Implementation + + //{{AFX_MSG(CHookMsgApp) + afx_msg void OnAppAbout(); + //}}AFX_MSG + DECLARE_MESSAGE_MAP() +private: + BOOL m_bATLInited; + BOOL m_bSuccess; + +private: + BOOL InitATL(); + + void LoadAppEnv(); + void SaveAppEnv(); +}; + +extern CHookMsgApp g_theApp; + +///////////////////////////////////////////////////////////////////////////// + +//{{AFX_INSERT_LOCATION}} +// Microsoft Visual C++ will insert additional declarations immediately before the previous line. + +#endif // !defined(AFX_HOOKMSG_H__86A22CDD_A862_4552_8701_F7A29A81022C__INCLUDED_)