FriendPromptDlg.h 1016 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. #pragma once
  2. #include "afxwin.h"
  3. #include "DialogResizer.h"
  4. // CFriendPromptDlg dialog
  5. class CFriendPromptDlg : public CDialogEx
  6. {
  7. DECLARE_DYNAMIC(CFriendPromptDlg)
  8. public:
  9. CFriendPromptDlg(CWnd* pParent = NULL); // standard constructor
  10. virtual ~CFriendPromptDlg();
  11. // Dialog Data
  12. #ifdef AFX_DESIGN_TIME
  13. enum { IDD = IDD_DIALOG_FREIND_PROMPT };
  14. #endif
  15. CString GetName() { return m_name; }
  16. CString GetDesc() { return m_desc; }
  17. bool GetSave() { return m_save; }
  18. bool GetClearList() { return m_clearList; }
  19. protected:
  20. CString m_name;
  21. CString m_desc;
  22. CBrush m_brush;
  23. bool m_save;
  24. bool m_clearList;
  25. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  26. DECLARE_MESSAGE_MAP()
  27. public:
  28. afx_msg void OnBnClickedOk();
  29. virtual BOOL OnInitDialog();
  30. afx_msg void OnSize(UINT nType, int cx, int cy);
  31. afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
  32. CEdit m_textBox;
  33. afx_msg void OnBnClickedCancel();
  34. CEdit m_description;
  35. afx_msg void OnBnClickedButtonClear();
  36. };