NoDbFrameWnd.h 847 B

123456789101112131415161718192021222324252627282930
  1. #pragma once
  2. #include <afxwin.h>
  3. #include "NTray.h"
  4. #include "HotKeys.h"
  5. class CNoDbFrameWnd : public CFrameWnd
  6. {
  7. public:
  8. DECLARE_MESSAGE_MAP()
  9. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  10. public:
  11. CNoDbFrameWnd();
  12. CTrayNotifyIcon m_trayIcon;
  13. CPropertySheet* m_pOptions;
  14. CHotKey* m_pDittoHotKey; // activate ditto's qpaste window
  15. CHotKey* m_pDittoHotKey2; // activate ditto's qpaste window
  16. CHotKey* m_pDittoHotKey3; // activate ditto's qpaste window
  17. afx_msg void OnFirstOptions();
  18. afx_msg void OnFirstExitNoDb();
  19. afx_msg LRESULT OnTrayNotification(WPARAM wParam, LPARAM lParam);
  20. afx_msg void OnTimer(UINT_PTR nIDEvent);
  21. void ShowNoDbMessage();
  22. void TryOpenDatabase();
  23. LRESULT OnOptionsClosed(WPARAM wParam, LPARAM lParam);
  24. afx_msg void OnHotKey(UINT nHotKeyId, UINT nKey1, UINT nKey2);
  25. };