GuiBaseTab.h
上传用户:wlkj888
上传日期:2022-08-01
资源大小:806k
文件大小:2k
源码类别:

对话框与窗口

开发平台:

Visual C++

  1. /****************************************************************************
  2.  * *  
  3.  * GuiToolKit   *
  4.  *                           (MFC extension) *  
  5.  * Created by Francisco Campos G. www.beyondata.com fcampos@beyondata.com *
  6.  *--------------------------------------------------------------------------*    
  7.  * *
  8.  * This program is free software; so you are free to use it any of your *
  9.  * applications(Freeware, Shareware, Commercial), but leave this header *
  10.  * intact. *
  11.  * *
  12.  * These files are provided "as is" without warranty of any kind. *
  13.  * *
  14.  *        GuiToolKit is forever FREE CODE !!!!! *
  15.  * *
  16.  *--------------------------------------------------------------------------*
  17.  * Created by: Francisco Campos G. *
  18.  * Bug Fixes and improvements :(Add your name) *
  19.  * -Francisco Campos *
  20.  * *
  21.  ****************************************************************************/
  22. // CTab.h : implementation file
  23. #if !defined(AFX_CBASETAB_INCLUDED_)
  24. #define AFX_CBASETAB_INCLUDED_
  25. #if _MSC_VER > 1000
  26. #pragma once
  27. #endif // _MSC_VER > 1000
  28. class CGuiTab 
  29. {
  30. public:
  31. CGuiTab(CWnd* mpParent, CString mlpMsg, UINT muIcon = -1)
  32. {
  33. pParent = mpParent;
  34. lpMsg = mlpMsg;
  35. uIcon = muIcon;
  36. nMenu   = 0;
  37. rect.SetRectEmpty();
  38. }
  39. void AddMenu(UINT nMENU)
  40. {
  41. nMenu = nMENU;
  42. }
  43. public:
  44. UINT    nMenu;
  45. CWnd* pParent;
  46. CString lpMsg;
  47. UINT uIcon;
  48. CRect rect;
  49. COLORREF  m_clrLTab; //new field for theme 2003
  50. COLORREF m_clrHtab;
  51. };
  52. #endif