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.

30 lines
964 B

  1. /*
  2. * columninfo.hxx
  3. *
  4. *
  5. * Copyright (c) 1998 Microsoft Corporation
  6. *
  7. * PURPOSE: Defines the CColumnInfoEx class.
  8. *
  9. *
  10. * OWNER: vivekj
  11. */
  12. class tstring;
  13. class CColumnInfoEx
  14. {
  15. INT m_nWidth;
  16. INT m_nFormat;
  17. tstring m_strTitle; // the name of the column
  18. DAT m_dat; // what dat it corresponds to.
  19. public:
  20. INT NWidth() {return m_nWidth;}
  21. INT NFormat() {return m_nFormat;}
  22. tstring& strTitle() {return m_strTitle;}
  23. DAT Dat() {return m_dat;}
  24. CColumnInfoEx(const tstring& strTitle, INT nFormat, INT nWidth, DAT dat)
  25. : m_strTitle(strTitle), m_nWidth(nWidth), m_nFormat(nFormat), m_dat(dat)
  26. {}
  27. };