home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Large Pack of OldSkool DOS MOD Trackers
/
beaversweeper_v101.zip
/
src
/
AEWindow.h
< prev
next >
Wrap
C/C++ Source or Header
|
2003-01-06
|
2KB
|
74 lines
#if !defined(AFX_AEWINDOW_H__72098206_11A2_4D0C_B1B1_FAFED8ED22CD__INCLUDED_)
#define AFX_AEWINDOW_H__72098206_11A2_4D0C_B1B1_FAFED8ED22CD__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// AEWindow.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CAEWindow window
class isInstrument;
class CAEWindow : public CWnd
{
// Construction
public:
CAEWindow();
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CAEWindow)
public:
virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CAEWindow();
isInstrument *m_instrument;
// Generated message map functions
protected:
int m_posx, m_posy, m_digitno, m_rows, m_cols;
RECT m_field;
BOOL m_isedit;
_TCHAR m_editstr[10];
void getItemRect( int x, int y, RECT *rect );
void getItemText( int x, int y, _TCHAR *str );
void enterEdit(void);
void enterLeave(void);
//{{AFX_MSG(CAEWindow)
afx_msg void OnPaint();
afx_msg void OnSetFocus(CWnd* pOldWnd);
afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
afx_msg void OnSysKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
afx_msg UINT OnGetDlgCode();
afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_AEWINDOW_H__72098206_11A2_4D0C_B1B1_FAFED8ED22CD__INCLUDED_)