DittoPopupWindow.h 693 B

123456789101112131415161718192021222324252627282930313233
  1. #pragma once
  2. #include "WndEx.h"
  3. class CDittoPopupWindow : public CWndEx
  4. {
  5. public:
  6. CDittoPopupWindow();
  7. ~CDittoPopupWindow();
  8. void UpdateText(CString text);
  9. void SetProgressBarPercent(int percent);
  10. void HideProgressBar();
  11. void SetCopyToGroupId(int groupId) { m_groupId = groupId; }
  12. protected:
  13. DECLARE_MESSAGE_MAP()
  14. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  15. afx_msg void OnSize(UINT nType, int cx, int cy);
  16. afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
  17. afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
  18. CStatic m_textLabel;
  19. CProgressCtrl m_progressWnd;
  20. CFont m_font;
  21. int m_groupId;
  22. void PumpMessages();
  23. void DoSize(int cx, int cy);
  24. };