/[H6]/MyTabCtrl.cpp
ViewVC logotype

Diff of /MyTabCtrl.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 37 by torben, Sun Sep 3 10:10:19 2006 UTC revision 38 by torben, Mon Sep 4 10:17:10 2006 UTC
# Line 18  Line 18 
18  IMPLEMENT_DYNAMIC(CMyTabCtrl, CTabCtrl)  IMPLEMENT_DYNAMIC(CMyTabCtrl, CTabCtrl)
19  CMyTabCtrl::CMyTabCtrl()  CMyTabCtrl::CMyTabCtrl()
20  {  {
21          m_numTabs = 3;  
         m_tabs[0] = new SearchDialog;  
         m_tabs[1] = new ResultDialog;  
         m_tabs[2] = new AdminDialog;  
22  }  }
23    
24  CMyTabCtrl::~CMyTabCtrl()  CMyTabCtrl::~CMyTabCtrl()
# Line 45  END_MESSAGE_MAP() Line 42  END_MESSAGE_MAP()
42  void CMyTabCtrl::Init(void)  void CMyTabCtrl::Init(void)
43  {  {
44          OutputDebugString("CMyTabCtrl::Init()\n");          OutputDebugString("CMyTabCtrl::Init()\n");
45            
46            m_numTabs = 3;
47            m_tabs[0] = new SearchDialog;
48            m_tabs[1] = new ResultDialog;
49            m_tabs[2] = new AdminDialog;
50    
51          m_tabCurrent = 0;          m_tabCurrent = 0;
52    
53          m_tabs[0]->Create(IDD_SEARCH);          m_tabs[0]->Create(IDD_SEARCH);

Legend:
Removed from v.37  
changed lines
  Added in v.38

  ViewVC Help
Powered by ViewVC 1.1.20