chenluhua1980
8 天以前 6c92ade0aeb6a505f2ab8108dcbdab20e37a9fac
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
#if !defined(AFX_BLJOGBUTTON_H__51BB375B_98EA_4921_B964_90AC2D952D70__INCLUDED_)
#define AFX_BLJOGBUTTON_H__51BB375B_98EA_4921_B964_90AC2D952D70__INCLUDED_
 
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// BLJogButton.h : header file
//
 
#include "BLJogBtn2Parent.h"
 
/////////////////////////////////////////////////////////////////////////////
// CBLJogButton window
 
class AFX_EXT_CLASS CBLJogButton : public CButton
{
// Construction
public:
    CBLJogButton();
 
// Attributes
public:
 
// Operations
public:
    void SetJ2M(pBLJogBtn2Parent 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(CBLJogButton)
    //}}AFX_VIRTUAL
 
// Implementation
public:
    virtual ~CBLJogButton();
 
    // Generated message map functions
protected:
    //{{AFX_MSG(CBLJogButton)
    afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
    afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
    //}}AFX_MSG
 
    DECLARE_MESSAGE_MAP()
 
private:
    pBLJogBtn2Parent    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_)