/[H6]/MyTabCtrl.cpp
ViewVC logotype

Diff of /MyTabCtrl.cpp

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

revision 12 by torben, Thu Aug 31 09:02:02 2006 UTC revision 38 by torben, Mon Sep 4 10:17:10 2006 UTC
# Line 1  Line 1 
1  // MyTabCtrl.cpp : implementation file  /*
2  //   * Developed by Torben H. Nielsen
3     */
4    
5  #include "stdafx.h"  #include "stdafx.h"
6  #include "h6-udlånssystem.h"  #include "h6-udlånssystem.h"
# Line 17  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 44  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.12  
changed lines
  Added in v.38

  ViewVC Help
Powered by ViewVC 1.1.20