This commit is contained in:
71
HLStockWindow/HLStockWindowDlg.h
Normal file
71
HLStockWindow/HLStockWindowDlg.h
Normal file
@@ -0,0 +1,71 @@
|
|||||||
|
// HLStockWindowDlg.h : header file
|
||||||
|
//
|
||||||
|
|
||||||
|
#if !defined(AFX_HLSTOCKWINDOWDLG_H__49C1E414_5CFF_4905_8A10_24397B98784B__INCLUDED_)
|
||||||
|
#define AFX_HLSTOCKWINDOWDLG_H__49C1E414_5CFF_4905_8A10_24397B98784B__INCLUDED_
|
||||||
|
|
||||||
|
#if _MSC_VER > 1000
|
||||||
|
#pragma once
|
||||||
|
#endif // _MSC_VER > 1000
|
||||||
|
|
||||||
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
// CHLStockWindowDlg dialog
|
||||||
|
|
||||||
|
class CHLStockWindowDlg : public CDialog
|
||||||
|
{
|
||||||
|
// Construction
|
||||||
|
public:
|
||||||
|
CHLStockWindowDlg(CWnd* pParent = NULL); // standard constructor
|
||||||
|
|
||||||
|
private:
|
||||||
|
BOOL m_bBkColorStat; // TRUE : Red color, FALSE : Blue color
|
||||||
|
CBrush m_brushRed, m_brushBlue;
|
||||||
|
HLSTOCKWINDOWDATA m_cpData;
|
||||||
|
|
||||||
|
BOOL Running();
|
||||||
|
|
||||||
|
void SaveWindowPlacement();
|
||||||
|
void RestoreWindowPlacement();
|
||||||
|
|
||||||
|
// void SetInfomation(CString strInfo, BOOL bBkColorStat );
|
||||||
|
|
||||||
|
public:
|
||||||
|
// Dialog Data
|
||||||
|
//{{AFX_DATA(CHLStockWindowDlg)
|
||||||
|
enum { IDD = IDD_HLSTOCKWINDOW_DIALOG };
|
||||||
|
CEdit m_hInfomation;
|
||||||
|
//}}AFX_DATA
|
||||||
|
|
||||||
|
// ClassWizard generated virtual function overrides
|
||||||
|
//{{AFX_VIRTUAL(CHLStockWindowDlg)
|
||||||
|
protected:
|
||||||
|
virtual void OnOK ();
|
||||||
|
virtual void OnCancel ();
|
||||||
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
||||||
|
virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
|
||||||
|
//}}AFX_VIRTUAL
|
||||||
|
|
||||||
|
// Implementation
|
||||||
|
protected:
|
||||||
|
HICON m_hIcon;
|
||||||
|
|
||||||
|
// Generated message map functions
|
||||||
|
//{{AFX_MSG(CHLStockWindowDlg)
|
||||||
|
virtual BOOL OnInitDialog();
|
||||||
|
afx_msg void OnPaint();
|
||||||
|
afx_msg HCURSOR OnQueryDragIcon();
|
||||||
|
afx_msg void OnSize(UINT nType, int cx, int cy);
|
||||||
|
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
|
||||||
|
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
|
||||||
|
afx_msg BOOL OnCopyData(CWnd* pWnd, COPYDATASTRUCT* pCopyDataStruct);
|
||||||
|
afx_msg void OnClose();
|
||||||
|
afx_msg void OnWindowPosChanging(WINDOWPOS FAR* lpwndpos);
|
||||||
|
//}}AFX_MSG
|
||||||
|
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
|
||||||
|
DECLARE_MESSAGE_MAP()
|
||||||
|
};
|
||||||
|
|
||||||
|
//{{AFX_INSERT_LOCATION}}
|
||||||
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
||||||
|
|
||||||
|
#endif // !defined(AFX_HLSTOCKWINDOWDLG_H__49C1E414_5CFF_4905_8A10_24397B98784B__INCLUDED_)
|
||||||
Reference in New Issue
Block a user