This commit is contained in:
78
HookMsg/HookMsg.h
Normal file
78
HookMsg/HookMsg.h
Normal file
@@ -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_)
|
||||||
Reference in New Issue
Block a user