-
Notifications
You must be signed in to change notification settings - Fork 0
/
KhOpenApiTestDlg.h
68 lines (59 loc) · 2.44 KB
/
KhOpenApiTestDlg.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
//******************************************************************/
//******************************************************************/
//! All Rights Reserved. Copyright(c) 2014 (주)한국소리마치 /
//******************************************************************/
//! File Name : KhOpenApiTestDlg.h
//! Function : 키움 오픈API 테스트 다이얼로그
//! System Name : 키움 오픈API 테스트
//! Create : , 2014/06/02
//! Update :
//! Comment :
//******************************************************************/
// KhOpenApiTestDlg.h : 헤더 파일
//
#pragma once
// CKhOpenApiTestDlg 대화 상자
class CKhOpenApiTestDlg : public CDialogEx
{
// 생성입니다.
public:
CKhOpenApiTestDlg(CWnd* pParent = NULL); // 표준 생성자입니다.
// 대화 상자 데이터입니다.
enum { IDD = IDD_KHOPENAPITEST_DLG };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 지원입니다.
public:
CMapStringToPtr m_mapScreen;
int m_nScrN0;
CMapStringToString m_mapScreenNum;
BOOL GetNextScreenNum(int nScreenType);
long m_nRet;
CWnd *m_pRealAddDlg;
protected:
// 구현입니다.
protected:
HICON m_hIcon;
// 생성된 메시지 맵 함수
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg void OnDestroy();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg LRESULT OnScreenClose(WPARAM wParam, LPARAM lParam);
afx_msg void OnBtnCurrentPrice();
afx_msg void OnBtnOrder();
afx_msg void OnBtnKwanSim();
afx_msg void OnBnClickedBtnCurrentprice2();
afx_msg void OnBnClickedBtnReal();
DECLARE_MESSAGE_MAP()
void OnReceiveTrDataKhopenapictrl(LPCTSTR sScrNo, LPCTSTR sRQName, LPCTSTR sTrcode, LPCTSTR sRecordName, LPCTSTR sPrevNext, long nDataLength, LPCTSTR sErrorCode, LPCTSTR sMessage, LPCTSTR sSplmMsg);
void OnReceiveRealDataKhopenapictrl(LPCTSTR sJongmokCode, LPCTSTR sRealType, LPCTSTR sRealData);
void OnReceiveMsgKhopenapictrl(LPCTSTR sScrNo, LPCTSTR sRQName, LPCTSTR sTrCode, LPCTSTR sMsg);
void OnReceiveChejanData(LPCTSTR sGubun, LONG nItemCnt, LPCTSTR sFidList);
void OnEventConnect(LONG nItemCnt);
void OnReceiveRealCondition(LPCTSTR strCode, LPCTSTR strType, LPCTSTR strConditionName, LPCTSTR strConditionIndex); //조건검색 실시간 삽입,삭제되는 종목을 받는다
void OnReceiveTrCondition(LPCTSTR sScrNo, LPCTSTR strCodeList, LPCTSTR strConditionName, int nIndex, int nNext); //조건검색 종목리스트를 받는다.
void OnReceiveConditionVer(long lRet, LPCTSTR sMsg);
DECLARE_EVENTSINK_MAP()
public:
afx_msg void OnBnClickedButton1();
};