-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathGotoDialog.cpp
More file actions
39 lines (28 loc) · 793 Bytes
/
GotoDialog.cpp
File metadata and controls
39 lines (28 loc) · 793 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// GotoDialog.cpp : implementation file
//
#include "stdafx.h"
#include "SCIPicEditor.h"
#include "GotoDialog.h"
// CGotoDialog dialog
CGotoDialog::CGotoDialog(CWnd* pParent /*=NULL*/)
: CExtResizableDialog(CGotoDialog::IDD, pParent)
{
_iLineNumber = 0;
}
CGotoDialog::~CGotoDialog()
{
}
void CGotoDialog::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
DDX_Control(pDX, IDC_EDIT1, m_LineNumber);
CString strLineNumber;
m_LineNumber.GetWindowText(strLineNumber);
_iLineNumber = StrToInt(strLineNumber);
DDX_Control(pDX, IDOK, m_wndOK);
DDX_Control(pDX, IDCANCEL, m_wndCancel);
DDX_Control(pDX, IDC_STATIC1, m_wndStatic1);
}
BEGIN_MESSAGE_MAP(CGotoDialog, CExtResizableDialog)
END_MESSAGE_MAP()
// CGotoDialog message handlers