TaskPanelDlg.h
上传用户:szled88
上传日期:2015-04-09
资源大小:43957k
文件大小:2k
源码类别:

对话框与窗口

开发平台:

Visual C++

  1. // TaskPanelDlg.h : header file
  2. //
  3. // This file is a part of the XTREME TOOLKIT PRO MFC class library.
  4. // (c)1998-2008 Codejock Software, All Rights Reserved.
  5. //
  6. // THIS SOURCE FILE IS THE PROPERTY OF CODEJOCK SOFTWARE AND IS NOT TO BE
  7. // RE-DISTRIBUTED BY ANY MEANS WHATSOEVER WITHOUT THE EXPRESSED WRITTEN
  8. // CONSENT OF CODEJOCK SOFTWARE.
  9. //
  10. // THIS SOURCE CODE CAN ONLY BE USED UNDER THE TERMS AND CONDITIONS OUTLINED
  11. // IN THE XTREME TOOLKIT PRO LICENSE AGREEMENT. CODEJOCK SOFTWARE GRANTS TO
  12. // YOU (ONE SOFTWARE DEVELOPER) THE LIMITED RIGHT TO USE THIS SOFTWARE ON A
  13. // SINGLE COMPUTER.
  14. //
  15. // CONTACT INFORMATION:
  16. // support@codejock.com
  17. // http://www.codejock.com
  18. //
  19. /////////////////////////////////////////////////////////////////////////////
  20. #if !defined(AFX_TASKPANELDLG_H__3572B7BA_2CD7_4E44_B782_53CCF5EB89AB__INCLUDED_)
  21. #define AFX_TASKPANELDLG_H__3572B7BA_2CD7_4E44_B782_53CCF5EB89AB__INCLUDED_
  22. #if _MSC_VER > 1000
  23. #pragma once
  24. #endif // _MSC_VER > 1000
  25. /////////////////////////////////////////////////////////////////////////////
  26. // CTaskPanelDlg dialog
  27. class CTaskPanelDlg : public CDialog
  28. {
  29. // Construction
  30. public:
  31. CTaskPanelDlg(CWnd* pParent = NULL);   // standard constructor
  32. CBrush m_brushBack;
  33. COLORREF m_clrBack;
  34. void UpdateColors();
  35. inline void SetItem(CXTPTaskPanelGroupItem* pItem) {m_pItem = pItem;}
  36. CXTPTaskPanelGroupItem* m_pItem;
  37. virtual void OnCancel() {
  38. //////////////////////////////////////////////////////////////////////////
  39. }
  40. virtual void OnOK() {
  41. }
  42. virtual BOOL PreTranslateMessage(MSG* pMsg) {
  43. return CWnd::PreTranslateMessage(pMsg);
  44. }
  45. // Dialog Data
  46. //{{AFX_DATA(CTaskPanelDlg)
  47. // NOTE: the ClassWizard will add data members here
  48. //}}AFX_DATA
  49. // Overrides
  50. // ClassWizard generated virtual function overrides
  51. //{{AFX_VIRTUAL(CTaskPanelDlg)
  52. protected:
  53. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  54. //}}AFX_VIRTUAL
  55. // Implementation
  56. protected:
  57. // Generated message map functions
  58. //{{AFX_MSG(CTaskPanelDlg)
  59. afx_msg void OnSize(UINT nType, int cx, int cy);
  60. afx_msg BOOL OnEraseBkgnd(CDC* pDC);
  61. afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
  62. //}}AFX_MSG
  63. DECLARE_MESSAGE_MAP()
  64. };
  65. //{{AFX_INSERT_LOCATION}}
  66. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  67. #endif // !defined(AFX_TASKPANELDLG_H__3572B7BA_2CD7_4E44_B782_53CCF5EB89AB__INCLUDED_)