home *** CD-ROM | disk | FTP | other *** search
/ Troubleshooting Netware Systems / CSTRIAL0196.BIN / attach / msj / v10n08 / mfcpart3.exe / MOUSECAP.H < prev    next >
C/C++ Source or Header  |  1995-08-01  |  499b  |  27 lines

  1. class CMyApp : public CWinApp
  2. {
  3. public:
  4.     BOOL InitInstance ();
  5. };
  6.  
  7. class CMainWindow : public CFrameWnd
  8. {
  9. private:
  10.     BOOL m_bTracking;
  11.     BOOL m_bCaptureEnabled;
  12.  
  13.     CPoint m_pointFrom;
  14.     CPoint m_pointTo;
  15.  
  16. public:
  17.     CMainWindow ();
  18.  
  19. protected:
  20.     afx_msg void OnLButtonDown (UINT, CPoint);
  21.     afx_msg void OnLButtonUp (UINT, CPoint);
  22.     afx_msg void OnMouseMove (UINT, CPoint);
  23.     afx_msg void OnNcLButtonDown (UINT, CPoint);
  24.  
  25.     DECLARE_MESSAGE_MAP ()
  26. };
  27.