NewDialogBar.h
上传用户:ckg1000
上传日期:2013-01-26
资源大小:630k
文件大小:2k
源码类别:

CAD

开发平台:

Visual C++

  1. //{{AFX_INCLUDES()
  2. #include "labelcontrol.h"
  3. //}}AFX_INCLUDES
  4. #if !defined(AFX_NEWDIALOGBAR_H__8B478D1C_364F_4710_9905_FCF2204C470D__INCLUDED_)
  5. #define AFX_NEWDIALOGBAR_H__8B478D1C_364F_4710_9905_FCF2204C470D__INCLUDED_
  6. #include "TOOLButtonXP.h" // Added by ClassView
  7. #include "NewToolBar.h" // Added by ClassView
  8. #if _MSC_VER > 1000
  9. #pragma once
  10. #endif // _MSC_VER > 1000
  11. // NewDialogBar.h : header file
  12. //
  13. /////////////////////////////////////////////////////////////////////////////
  14. // NewDialogBar dialog
  15. #include "Shape.h"
  16. class NewDialogBar : public CDialogBar
  17. {
  18. // Construction
  19. public:
  20. CShape m_shape;
  21. NewToolBar* m_wndToolBar;
  22. void InitDialogBar();
  23. NewDialogBar(CWnd* pParent = NULL);   // standard constructor
  24. // Dialog Data
  25. //{{AFX_DATA(NewDialogBar)
  26. enum { IDD = IDD_DIALOGBAR };
  27. //}}AFX_DATA
  28. // Overrides
  29. // ClassWizard generated virtual function overrides
  30. //{{AFX_VIRTUAL(NewDialogBar)
  31. protected:
  32. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  33. //}}AFX_VIRTUAL
  34. // Implementation
  35. public:
  36. afx_msg void OnClickLabelBackbk();
  37. afx_msg void OnClickLabelForbk();
  38. protected:
  39. /* CButtonXP m_arc;
  40. CButtonXP m_backbk;
  41. CButtonXP m_corner;
  42. CButtonXP m_eddy;
  43. CButtonXP m_ellipse;
  44. CButtonXP m_forebk;
  45. CButtonXP m_line;
  46. CButtonXP m_msl;
  47. CButtonXP m_polygon;
  48. CButtonXP m_rect;
  49. CButtonXP m_select;
  50. CButtonXP m_setcol;
  51. CButtonXP m_trigon;
  52. CButtonXP m_zoom;
  53. CButtonXP m_arrow;
  54. CButtonXP m_round;*/
  55. // Generated message map functions
  56. //{{AFX_MSG(NewDialogBar)
  57. afx_msg void OnButtonZoom();
  58. afx_msg void OnButtonMsl();
  59. afx_msg void OnButtonEddy();
  60. afx_msg void OnButtonArrow();
  61. afx_msg void OnButtonFill();
  62. afx_msg void OnButtonFont();
  63. afx_msg void OnButtonMove();
  64. DECLARE_EVENTSINK_MAP()
  65. //}}AFX_MSG
  66. DECLARE_MESSAGE_MAP()
  67. public:
  68. void ShowCombox();
  69. void DisableCombox();
  70. void OnButtonAngleline();
  71. void OnButtonFoldline();
  72. void OnButtonEllipse();
  73. void OnButtonCirclemeter();
  74. afx_msg void OnButtonTrigon();
  75. afx_msg void OnButtonRect();
  76. afx_msg void OnButtonPolygon();
  77. afx_msg void OnButtonLine();
  78. afx_msg void OnButtonCircle();
  79. };
  80. //{{AFX_INSERT_LOCATION}}
  81. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  82. #endif // !defined(AFX_NEWDIALOGBAR_H__8B478D1C_364F_4710_9905_FCF2204C470D__INCLUDED_)