mirror of
https://github.com/DxWnd/DxWnd.reloaded
synced 2024-12-30 09:25:35 +01:00
55 lines
1.4 KiB
C++
55 lines
1.4 KiB
C++
// TabNotes.cpp : implementation file
|
|
//
|
|
|
|
#include "stdafx.h"
|
|
#include "TargetDlg.h"
|
|
#include "TabNotes.h"
|
|
|
|
#ifdef _DEBUG
|
|
#define new DEBUG_NEW
|
|
#undef THIS_FILE
|
|
static char THIS_FILE[] = __FILE__;
|
|
#endif
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CTabNotes dialog
|
|
|
|
CTabNotes::CTabNotes(CWnd* pParent /*=NULL*/)
|
|
// : CTargetDlg(pParent)
|
|
: CDialog(CTabNotes::IDD, pParent)
|
|
{
|
|
//{{AFX_DATA_INIT(CTabNotes)
|
|
// NOTE: the ClassWizard will add member initialization here
|
|
//}}AFX_DATA_INIT
|
|
}
|
|
|
|
void CTabNotes::DoDataExchange(CDataExchange* pDX)
|
|
{
|
|
CDialog::DoDataExchange(pDX);
|
|
CTargetDlg *cTarget = ((CTargetDlg *)(this->GetParent()->GetParent()));
|
|
DDX_Text(pDX, IDC_NOTES, cTarget->m_Notes);
|
|
}
|
|
|
|
BEGIN_MESSAGE_MAP(CTabNotes, CDialog)
|
|
//{{AFX_MSG_MAP(CTabNotes)
|
|
// NOTE: the ClassWizard will add message map macros here
|
|
//}}AFX_MSG_MAP
|
|
END_MESSAGE_MAP()
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CTabNotes message handlers
|
|
|
|
|
|
//BOOL CTabNotes::OnInitDialog()
|
|
//{
|
|
// AfxEnableControlContainer();
|
|
// CListBox *List;
|
|
// CTargetDlg *cTarget = ((CTargetDlg *)(this->GetParent()->GetParent()));
|
|
// int i;
|
|
// List=(CListBox *)this->GetDlgItem(IDC_LISTFAKE);
|
|
// List->ResetContent();
|
|
// for(i=0; i<9; i++) List->AddString(WinVersions[i].sName);
|
|
// List->SetCurSel(cTarget->m_FakeVersion);
|
|
// CDialog::OnInitDialog();
|
|
// return TRUE;
|
|
//}
|