Leaked source code of windows server 2003
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.

61 lines
1.8 KiB

  1. // formatta.h : header file
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1992-1995 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // This source code is only intended as a supplement to the
  8. // Microsoft Foundation Classes Reference and related
  9. // electronic documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12. /////////////////////////////////////////////////////////////////////////////
  13. // CFormatTabDlg dialog
  14. class CFormatTabDlg : public CCSDialog
  15. {
  16. // Construction
  17. public:
  18. CFormatTabDlg(PARAFORMAT& pf, CWnd* pParent = NULL); // standard constructor
  19. ~CFormatTabDlg();
  20. PARAFORMAT m_pf;
  21. LONG* m_tabarray;
  22. int m_nCount;
  23. // Dialog Data
  24. //{{AFX_DATA(CFormatTabDlg)
  25. enum { IDD = IDD_FORMAT_TAB };
  26. CButton m_buttonClearAll;
  27. CButton m_buttonSet;
  28. CButton m_buttonClear;
  29. CComboBox m_comboBox;
  30. //}}AFX_DATA
  31. // Implementation
  32. protected:
  33. static const DWORD m_nHelpIDs[];
  34. virtual const DWORD* GetHelpIDs() {return m_nHelpIDs;}
  35. void UpdateButton(CButton& button, BOOL b);
  36. void UpdateButtons();
  37. BOOL Set();
  38. BOOL AddTabToArray(LONG lTab);
  39. BOOL RemoveTabFromArray(LONG lTab);
  40. void RemoveTabFromArrayByIndex(int nIndex);
  41. void UpdateListBox();
  42. void SetEditFocus();
  43. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  44. virtual void OnOK();
  45. // Generated message map functions
  46. //{{AFX_MSG(CFormatTabDlg)
  47. afx_msg void OnClickedClear();
  48. afx_msg void OnClickedClearAll();
  49. afx_msg void OnClickedSet();
  50. afx_msg void OnEditChange();
  51. virtual BOOL OnInitDialog();
  52. afx_msg void OnSelchange();
  53. afx_msg LONG OnHelp(WPARAM wParam, LPARAM lParam);
  54. //}}AFX_MSG
  55. DECLARE_MESSAGE_MAP()
  56. };