?? fdialog.cpp
字號:
// FDialog.cpp : implementation file
//
#include "stdafx.h"
#include "1.h"
#include "FDialog.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CFDialog dialog
CFDialog::CFDialog(CWnd* pParent /*=NULL*/)
: CDialog(CFDialog::IDD, pParent)
{
//{{AFX_DATA_INIT(CFDialog)
m_Y = 0.0f;
m_X = 0.0f;
//}}AFX_DATA_INIT
}
void CFDialog::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CFDialog)
DDX_Text(pDX, IDC_EDITY, m_Y);
DDX_Text(pDX, IDC_EDITX, m_X);
//}}AFX_DATA_MAP
}
LRESULT CFDialog::OnReceiveMsg(WPARAM wParam,LPARAM lParam)
{
char *sReceive=(char*)wParam;
SetDlgItemText(IDC_EDITX,sReceive);
return 0L;
}
BEGIN_MESSAGE_MAP(CFDialog, CDialog)
//{{AFX_MSG_MAP(CFDialog)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CFDialog message handlers
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -