⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fdialog.cpp

📁 该软件能很好地实现数控机床上的G00
💻 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 + -