📄 find.cpp
字号:
/************************************************************
//
// Copyright (C) 2002, Geo Soft
// All rights reserved
// mail: khuntipm@yahoo.com
// web: www.geosoftindia.com
// Khunti Popat
//
************************************************************/
// Find.cpp : implementation file
//
#include "stdafx.h"
#include "resource.h"
#include "Find.h"
#include "GeoPADDll.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CFind dialog
extern CGeoPADCtrl geoPAD;
CFind::CFind(CWnd* pParent /*=NULL*/)
: CDialog(CFind::IDD, pParent)
{
//{{AFX_DATA_INIT(CFind)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
void CFind::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CFind)
DDX_Control(pDX, IDC_CHECK_MW, m_mw);
DDX_Control(pDX, IDC_CHECK_MC, m_mc);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CFind, CDialog)
//{{AFX_MSG_MAP(CFind)
ON_WM_SIZE()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CFind message handlers
void CFind::OnOK()
{
// TODO: Add extra validation here
CString str;
GetDlgItemText(IDC_EDIT_FIND,str);
geoPAD.GeoPAD33(SysAllocString(str),m_mw.GetCheck(),m_mc.GetCheck());
CDialog::OnOK();
}
void CFind::OnSize(UINT nType, int cx, int cy)
{
CDialog::OnSize(nType, cx, cy);
// TODO: Add your message handler code here
// MoveWindow(0,0,155,120);
// CenterWindow();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -