home *** CD-ROM | disk | FTP | other *** search
/ PC User 2002 March / Disc 1 / PCU030201.iso / software / utils / files / activesms.exe / data1.cab / Example_Files / Samples / CPP / CPPDemoDlg.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-12-19  |  1.6 KB  |  62 lines

  1. // CPPDemoDlg.h : header file
  2. //
  3. //{{AFX_INCLUDES()
  4. #include "activesmslistener.h"
  5. //}}AFX_INCLUDES
  6.  
  7. #if !defined(AFX_CPPDEMODLG_H__9396786E_4482_4906_B08C_2EC14B0BAB85__INCLUDED_)
  8. #define AFX_CPPDEMODLG_H__9396786E_4482_4906_B08C_2EC14B0BAB85__INCLUDED_
  9.  
  10. #if _MSC_VER > 1000
  11. #pragma once
  12. #endif // _MSC_VER > 1000
  13.  
  14. /////////////////////////////////////////////////////////////////////////////
  15. // CCPPDemoDlg dialog
  16.  
  17. class CCPPDemoDlg : public CDialog
  18. {
  19. // Construction
  20. public:
  21.     CCPPDemoDlg(CWnd* pParent = NULL);    // standard constructor
  22.  
  23. // Dialog Data
  24.     //{{AFX_DATA(CCPPDemoDlg)
  25.     enum { IDD = IDD_CPPDEMO_DIALOG };
  26.     CListCtrl    m_lvwIncomingMsgs;
  27.     CString    m_sPhoneNumber;
  28.     CString    m_sText;
  29.     CActiveSMSListener    m_ActiveSMSListener;
  30.     //}}AFX_DATA
  31.  
  32.     // ClassWizard generated virtual function overrides
  33.     //{{AFX_VIRTUAL(CCPPDemoDlg)
  34.     protected:
  35.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  36.     //}}AFX_VIRTUAL
  37.  
  38. // Implementation
  39. protected:
  40.     HICON m_hIcon;
  41.     HANDLE m_hSmallIcon;
  42.  
  43.     // Generated message map functions
  44.     //{{AFX_MSG(CCPPDemoDlg)
  45.     virtual BOOL OnInitDialog();
  46.     afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  47.     afx_msg void OnPaint();
  48.     afx_msg HCURSOR OnQueryDragIcon();
  49.     afx_msg void OnSendMsg();
  50.     afx_msg void OnMessageReceived(LPCTSTR PhoneNumber, LPCTSTR Message, long Handset);
  51.     DECLARE_EVENTSINK_MAP()
  52.     //}}AFX_MSG
  53.     DECLARE_MESSAGE_MAP()
  54.  
  55.     IActiveSMSPtr m_ActiveSMS;
  56. };
  57.  
  58. //{{AFX_INSERT_LOCATION}}
  59. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  60.  
  61. #endif // !defined(AFX_CPPDEMODLG_H__9396786E_4482_4906_B08C_2EC14B0BAB85__INCLUDED_)
  62.