#if !defined(AFX_DRIVEBUTTON_H__F0D3D21B_B7FC_4197_BE89_3C96FA593B3D__INCLUDED_) #define AFX_DRIVEBUTTON_H__F0D3D21B_B7FC_4197_BE89_3C96FA593B3D__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // DriveButton.h : header file // /* DriveButton is a button subclassed control which calls a function in CMainDlg both when it's pressed down and when it's released in order to stop the motors on the button release */ ///////////////////////////////////////////////////////////////////////////// // CDriveButton window class CDriveButton : public CButton { // Construction public: CDriveButton(); // Attributes public: // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CDriveButton) //}}AFX_VIRTUAL // Implementation public: virtual ~CDriveButton(); virtual void PreSubclassWindow(); // Generated message map functions protected: //{{AFX_MSG(CDriveButton) afx_msg void OnLButtonDown(UINT nFlags, CPoint point); afx_msg void OnLButtonUp(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_DRIVEBUTTON_H__F0D3D21B_B7FC_4197_BE89_3C96FA593B3D__INCLUDED_)