FocusHighlightDlg.h 823 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. // FocusHighlightDlg.h : header file
  2. //
  3. #pragma once
  4. #include "ExternalWindowTracker.h"
  5. #include "afxwin.h"
  6. // CFocusHighlightDlg dialog
  7. class CFocusHighlightDlg : public CDialogEx
  8. {
  9. // Construction
  10. public:
  11. CFocusHighlightDlg(CWnd* pParent = NULL); // standard constructor
  12. // Dialog Data
  13. enum { IDD = IDD_FOCUSHIGHLIGHT_DIALOG };
  14. protected:
  15. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  16. // Implementation
  17. protected:
  18. ExternalWindowTracker m_tracker;
  19. void StayOnTop();
  20. // Generated message map functions
  21. virtual BOOL OnInitDialog();
  22. DECLARE_MESSAGE_MAP()
  23. public:
  24. afx_msg void OnTimer(UINT_PTR nIDEvent);
  25. CEdit m_activeEdit;
  26. CEdit m_focusEdit;
  27. CButton m_trackFocusChangesCheck;
  28. afx_msg void OnBnClickedButtonHighlightActive();
  29. afx_msg void OnBnClickedButtonHighlightFocus();
  30. };