MyGridFrame.h
资源名称:MyStock.rar [点击查看]
上传用户:wenjimin
上传日期:2014-08-12
资源大小:111k
文件大小:2k
源码类别:
金融证券系统
开发平台:
Visual C++
- #if !defined(AFX_MYGRIDFRAME_H__79CFDE47_6DD5_407E_9250_13E0C43233CF__INCLUDED_)
- #define AFX_MYGRIDFRAME_H__79CFDE47_6DD5_407E_9250_13E0C43233CF__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // MyGridFrame.h : header file
- //
- #include "GridCtrl.h"
- #include "Ftab.h"
- /////////////////////////////////////////////////////////////////////////////
- // CMyGridFrame window
- class CMyGridFrame : public CWnd
- {
- // Construction
- public:
- CMyGridFrame();
- // Attributes
- public:
- CScrollBar* GetScrollBar(int nBar) const;
- // Operations
- public:
- CGridCtrl m_grid;
- CFolderTabCtrl m_tab;
- CScrollBar m_wndSBHorz; // horizontal scroll bar..
- CScrollBar m_wndSBVert; // ... vertical
- CScrollBar m_wndSBBox; // ... and box
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CMyGridFrame)
- protected:
- virtual BOOL OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult);
- //}}AFX_VIRTUAL
- // Implementation
- public:
- void OnStringChange();
- CString m_szLabel;//股票代码
- virtual ~CMyGridFrame();
- // Generated message map functions
- protected:
- //{{AFX_MSG(CMyGridFrame)
- afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
- afx_msg void OnSize(UINT nType, int cx, int cy);
- afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
- afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_MYGRIDFRAME_H__79CFDE47_6DD5_407E_9250_13E0C43233CF__INCLUDED_)