Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
1.3 KiB

  1. /*++
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. Options Dialog
  5. Abstract:
  6. This class implements the options dialog which sets the
  7. tracing properties
  8. Author:
  9. Marc Reyhner 9/12/2000
  10. --*/
  11. #ifndef __OPTIONSDIALOG_H__
  12. #define __OPTIONSDIALOG_H__
  13. class CTraceManager;
  14. class COptionsDialog
  15. {
  16. public:
  17. COptionsDialog(CTraceManager *rTracer);
  18. virtual VOID DoDialog(HWND hWndParent);
  19. private:
  20. HWND m_hFilterDlg;
  21. HWND m_hTraceDlg;
  22. HWND m_hFilterSliderControl;
  23. CTraceManager *m_rTracer;
  24. static INT_PTR CALLBACK _FilterDialogProc(HWND hwndDlg,UINT uMsg,WPARAM wParam,LPARAM lParam);
  25. static INT_PTR CALLBACK _TraceDialogProc(HWND hwndDlg,UINT uMsg,WPARAM wParam,LPARAM lParam);
  26. INT_PTR CALLBACK FilterDialogProc(HWND hwndDlg,UINT uMsg,WPARAM wParam,LPARAM lParam);
  27. INT_PTR CALLBACK TraceDialogProc(HWND hwndDlg,UINT uMsg,WPARAM wParam,LPARAM lParam);
  28. INT_PTR OnCreateFilter(HWND hWnd);
  29. INT_PTR OnCreateTrace(HWND hWnd);
  30. BOOL TraceVerifyParameters();
  31. BOOL OnTraceOk();
  32. VOID OnFilterOk();
  33. VOID OnFilterSliderMove();
  34. VOID OnFilterClearAll();
  35. VOID OnFilterSelectAll();
  36. BOOL VerifyNumberFormat(LPCTSTR numberFormat);
  37. VOID LoadPrefixMRU(LPCTSTR currentPrefix);
  38. VOID StorePrefixMRU(LPCTSTR currentPrefix);
  39. };
  40. #endif