#if !defined(AFX_SISJOGBUTTON_H__51BB375B_98EA_4921_B964_90AC2D952D70__INCLUDED_)
|
#define AFX_SISJOGBUTTON_H__51BB375B_98EA_4921_B964_90AC2D952D70__INCLUDED_
|
|
#if _MSC_VER > 1000
|
#pragma once
|
#endif // _MSC_VER > 1000
|
// SISJogButton.h : header file
|
//
|
|
#include "SISJogBtn2Parent.h"
|
|
/////////////////////////////////////////////////////////////////////////////
|
// CSISJogButton window
|
|
class AFX_EXT_CLASS CSISJogButton : public CButton
|
{
|
// Construction
|
public:
|
CSISJogButton();
|
|
// Attributes
|
public:
|
|
// Operations
|
public:
|
void SetJ2M(pSISJogBtn2Parent pJ2M) { m_pJ2M = pJ2M; }
|
void SetStringDown(CString strMsg) { m_strMessageDown = strMsg; }
|
void SetStringUp(CString strMsg) { m_strMessageUp = strMsg; }
|
void SetIntDown(int nMsg) { m_nMessageDown = nMsg; }
|
void SetIntUp(int nMsg) { m_nMessageUp = nMsg; }
|
|
// Overrides
|
// ClassWizard generated virtual function overrides
|
//{{AFX_VIRTUAL(CSISJogButton)
|
//}}AFX_VIRTUAL
|
|
// Implementation
|
public:
|
virtual ~CSISJogButton();
|
|
// Generated message map functions
|
protected:
|
//{{AFX_MSG(CSISJogButton)
|
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
|
afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
private:
|
pSISJogBtn2Parent m_pJ2M;
|
CString m_strMessageDown;
|
CString m_strMessageUp;
|
int m_nMessageDown;
|
int m_nMessageUp;
|
};
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//{{AFX_INSERT_LOCATION}}
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
#endif // !defined(AFX_JOGBUTTON_H__51BB375B_98EA_4921_B964_90AC2D952D70__INCLUDED_)
|