4 |
#include "stdafx.h" |
#include "stdafx.h" |
5 |
#include "h6-udlånssystem.h" |
#include "h6-udlånssystem.h" |
6 |
#include "h6-udlånssystemDlg.h" |
#include "h6-udlånssystemDlg.h" |
7 |
|
#include ".\h6-udlånssystemdlg.h" |
8 |
|
|
9 |
#ifdef _DEBUG |
#ifdef _DEBUG |
10 |
#define new DEBUG_NEW |
#define new DEBUG_NEW |
55 |
void Ch6udlnssystemDlg::DoDataExchange(CDataExchange* pDX) |
void Ch6udlnssystemDlg::DoDataExchange(CDataExchange* pDX) |
56 |
{ |
{ |
57 |
CDialog::DoDataExchange(pDX); |
CDialog::DoDataExchange(pDX); |
58 |
|
DDX_Control(pDX, IDC_TAB, m_tabs); |
59 |
} |
} |
60 |
|
|
61 |
BEGIN_MESSAGE_MAP(Ch6udlnssystemDlg, CDialog) |
BEGIN_MESSAGE_MAP(Ch6udlnssystemDlg, CDialog) |
63 |
ON_WM_PAINT() |
ON_WM_PAINT() |
64 |
ON_WM_QUERYDRAGICON() |
ON_WM_QUERYDRAGICON() |
65 |
//}}AFX_MSG_MAP |
//}}AFX_MSG_MAP |
66 |
|
ON_COMMAND(ID_HELP_ABOUT, OnHelpAbout) |
67 |
END_MESSAGE_MAP() |
END_MESSAGE_MAP() |
68 |
|
|
69 |
|
|
96 |
SetIcon(m_hIcon, TRUE); // Set big icon |
SetIcon(m_hIcon, TRUE); // Set big icon |
97 |
SetIcon(m_hIcon, FALSE); // Set small icon |
SetIcon(m_hIcon, FALSE); // Set small icon |
98 |
|
|
99 |
|
m_tabs.InsertItem(0,"Search"); |
100 |
|
m_tabs.InsertItem(1,"Result"); |
101 |
|
m_tabs.InsertItem(2,"Administration"); |
102 |
|
m_tabs.Init(); |
103 |
|
m_tabs.SetCurSel(0); |
104 |
|
|
105 |
// TODO: Add extra initialization here |
// TODO: Add extra initialization here |
106 |
|
|
107 |
return TRUE; // return TRUE unless you set the focus to a control |
return TRUE; // return TRUE unless you set the focus to a control |
155 |
{ |
{ |
156 |
return static_cast<HCURSOR>(m_hIcon); |
return static_cast<HCURSOR>(m_hIcon); |
157 |
} |
} |
158 |
|
|
159 |
|
void Ch6udlnssystemDlg::OnHelpAbout() |
160 |
|
{ |
161 |
|
MessageBox("DA6H :: Udlånssystem\r\nLavet af:\r\nKevin, Hedin & Torben"); |
162 |
|
} |