home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / com / acdual / mfcctrl / autoddlg.h < prev    next >
C/C++ Source or Header  |  1998-04-02  |  2KB  |  64 lines

  1. // autoddlg.h : header file
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1992-1998 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // This source code is only intended as a supplement to the
  8. // Microsoft Foundation Classes Reference and related
  9. // electronic documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12.  
  13. /////////////////////////////////////////////////////////////////////////////
  14. // CAutoDrivDlg dialog
  15.  
  16. class CAutoDrivDlg : public CDialog
  17. {
  18. // Construction
  19. public:
  20.     CAutoDrivDlg(CWnd* pParent = NULL ); // standard constructor
  21.  
  22. // Dialog Data
  23.     //{{AFX_DATA(CAutoDrivDlg)
  24.     enum { IDD = IDD_AUTODRIV_DIALOG };
  25.     CString m_szText;
  26.     short   m_x;
  27.     short   m_y;
  28.     BOOL    m_bUseDispatch;
  29.     //}}AFX_DATA
  30.  
  31.     // ClassWizard generated virtual function overrides
  32.     //{{AFX_VIRTUAL(CAutoDrivDlg)
  33.     protected:
  34.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  35.     //}}AFX_VIRTUAL
  36.  
  37. // Implementation
  38. protected:
  39.     HICON m_hIcon;
  40.     IAClickPtr m_pAutoClikObject;
  41.     IDualAClickPtr m_pDualAutoClikObject;
  42.  
  43.     // Generated message map functions
  44.     //{{AFX_MSG(CAutoDrivDlg)
  45.     virtual BOOL OnInitDialog();
  46.     afx_msg void OnPaint();
  47.     afx_msg HCURSOR OnQueryDragIcon();
  48.     afx_msg void OnClose();
  49.     afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  50.     afx_msg void OnAnimateXY();
  51.     afx_msg void OnAnimatePos();
  52.     afx_msg void OnSetAll();
  53.     afx_msg void OnSetPosition();
  54.     afx_msg void OnSetText();
  55.     afx_msg void OnSetX();
  56.     afx_msg void OnSetY();
  57.     afx_msg void OnRefresh();
  58.     afx_msg void OnGetAll();
  59.     afx_msg void OnGetPosition();
  60.     afx_msg void OnUseDispatch();
  61.     //}}AFX_MSG
  62.     DECLARE_MESSAGE_MAP()
  63. };
  64.