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

📄 parawnddlg.cpp

📁 波峰焊后台控制软件-英文版
💻 CPP
📖 第 1 页 / 共 3 页
字号:

void CParaWndDlg::OnChangeVelFfRh1() 
{
	// TODO: If this is a RICHEDIT control, the control will not
	// send this notification unless you override the CDialog::OnInitDialog()
	// function to send the EM_SETEVENTMASK message to the control
	// with the ENM_CHANGE flag ORed into the lParam mask.
	
	// TODO: Add your control notification handler code here
    unsigned short wBuf[32];
	int i,j,sign;
	GetDlgItemText(IDC_VEL_FF_RH1,wBuf,20);
    theApp.vel_ff[1]=theApp.ReadDataChar(wBuf);
}

void CParaWndDlg::OnChangeVelFfRh2() 
{
	// TODO: If this is a RICHEDIT control, the control will not
	// send this notification unless you override the CDialog::OnInitDialog()
	// function to send the EM_SETEVENTMASK message to the control
	// with the ENM_CHANGE flag ORed into the lParam mask.
	
	// TODO: Add your control notification handler code here
    unsigned short wBuf[32];
	int i,j,sign;
	GetDlgItemText(IDC_VEL_FF_RH2,wBuf,20);
    theApp.vel_ff[2]=theApp.ReadDataChar(wBuf);
	
}

void CParaWndDlg::OnChangeVelFfRh3() 
{
	// TODO: If this is a RICHEDIT control, the control will not
	// send this notification unless you override the CDialog::OnInitDialog()
	// function to send the EM_SETEVENTMASK message to the control
	// with the ENM_CHANGE flag ORed into the lParam mask.
	
	// TODO: Add your control notification handler code here
    unsigned short wBuf[32];
	int i,j,sign;
	GetDlgItemText(IDC_VEL_FF_RH3,wBuf,20);
    theApp.vel_ff[3]=theApp.ReadDataChar(wBuf);
	
}

void CParaWndDlg::OnChangeVelFfSl() 
{
	// TODO: If this is a RICHEDIT control, the control will not
	// send this notification unless you override the CDialog::OnInitDialog()
	// function to send the EM_SETEVENTMASK message to the control
	// with the ENM_CHANGE flag ORed into the lParam mask.
	
	// TODO: Add your control notification handler code here
    unsigned short wBuf[32];
	int i,j,sign;
	GetDlgItemText(IDC_VEL_FF_SL,wBuf,20);
    theApp.vel_ff[0]=theApp.ReadDataChar(wBuf);
	
}

void CParaWndDlg::OnChangeHoldRh1() 
{
	// TODO: If this is a RICHEDIT control, the control will not
	// send this notification unless you override the CDialog::OnInitDialog()
	// function to send the EM_SETEVENTMASK message to the control
	// with the ENM_CHANGE flag ORed into the lParam mask.
	
	// TODO: Add your control notification handler code here
    unsigned short wBuf[32];
	int i,j,sign;
	GetDlgItemText(IDC_HOLD_RH1,wBuf,20);
    theApp.hold[1]=theApp.ReadDataChar(wBuf);
	
}

void CParaWndDlg::OnChangeHoldRh2() 
{
	// TODO: If this is a RICHEDIT control, the control will not
	// send this notification unless you override the CDialog::OnInitDialog()
	// function to send the EM_SETEVENTMASK message to the control
	// with the ENM_CHANGE flag ORed into the lParam mask.
	
	// TODO: Add your control notification handler code here
    unsigned short wBuf[32];
	int i,j,sign;
	GetDlgItemText(IDC_HOLD_RH2,wBuf,20);
    theApp.hold[2]=theApp.ReadDataChar(wBuf);
	
}

void CParaWndDlg::OnChangeHoldRh3() 
{
	// TODO: If this is a RICHEDIT control, the control will not
	// send this notification unless you override the CDialog::OnInitDialog()
	// function to send the EM_SETEVENTMASK message to the control
	// with the ENM_CHANGE flag ORed into the lParam mask.
	
	// TODO: Add your control notification handler code here
    unsigned short wBuf[32];
	int i,j,sign;
	GetDlgItemText(IDC_HOLD_RH3,wBuf,20);
    theApp.hold[3]=theApp.ReadDataChar(wBuf);
	
}

void CParaWndDlg::OnChangeHoldSl() 
{
	// TODO: If this is a RICHEDIT control, the control will not
	// send this notification unless you override the CDialog::OnInitDialog()
	// function to send the EM_SETEVENTMASK message to the control
	// with the ENM_CHANGE flag ORed into the lParam mask.
	
	// TODO: Add your control notification handler code here
    unsigned short wBuf[32];
	int i,j,sign;
	GetDlgItemText(IDC_HOLD_SL,wBuf,20);
    theApp.hold[0]=theApp.ReadDataChar(wBuf);
}

void CParaWndDlg::OnChangeBiasRh1() 
{
	// TODO: If this is a RICHEDIT control, the control will not
	// send this notification unless you override the CDialog::OnInitDialog()
	// function to send the EM_SETEVENTMASK message to the control
	// with the ENM_CHANGE flag ORed into the lParam mask.
	
	// TODO: Add your control notification handler code here
	// TODO: Add your control notification handler code here
    unsigned short wBuf[32];
	int i,j,sign;
	GetDlgItemText(IDC_BIAS_RH1,wBuf,20);
    theApp.bias[1]=theApp.ReadDataChar(wBuf);
}

void CParaWndDlg::OnChangeBiasRh2() 
{
	// TODO: If this is a RICHEDIT control, the control will not
	// send this notification unless you override the CDialog::OnInitDialog()
	// function to send the EM_SETEVENTMASK message to the control
	// with the ENM_CHANGE flag ORed into the lParam mask.
	
	// TODO: Add your control notification handler code here
    unsigned short wBuf[32];
	int i,j,sign;
	GetDlgItemText(IDC_BIAS_RH2,wBuf,20);
    theApp.bias[2]=theApp.ReadDataChar(wBuf);
	
}

void CParaWndDlg::OnChangeBiasRh3() 
{
	// TODO: If this is a RICHEDIT control, the control will not
	// send this notification unless you override the CDialog::OnInitDialog()
	// function to send the EM_SETEVENTMASK message to the control
	// with the ENM_CHANGE flag ORed into the lParam mask.
	
	// TODO: Add your control notification handler code here
    unsigned short wBuf[32];
	int i,j,sign;
	GetDlgItemText(IDC_BIAS_RH3,wBuf,20);
    theApp.bias[3]=theApp.ReadDataChar(wBuf);
	
}

void CParaWndDlg::OnChangeBiasSl() 
{
	// TODO: If this is a RICHEDIT control, the control will not
	// send this notification unless you override the CDialog::OnInitDialog()
	// function to send the EM_SETEVENTMASK message to the control
	// with the ENM_CHANGE flag ORed into the lParam mask.
	
	// TODO: Add your control notification handler code here
    unsigned short wBuf[32];
	int i,j,sign;
	GetDlgItemText(IDC_BIAS_SL,wBuf,20);
    theApp.bias[0]=theApp.ReadDataChar(wBuf);

}

void CParaWndDlg::OnChangeAccelRh1() 
{
	// TODO: If this is a RICHEDIT control, the control will not
	// send this notification unless you override the CDialog::OnInitDialog()
	// function to send the EM_SETEVENTMASK message to the control
	// with the ENM_CHANGE flag ORed into the lParam mask.
	
	// TODO: Add your control notification handler code here
    unsigned short wBuf[32];
	int i,j,sign;
	GetDlgItemText(IDC_ACCEL_RH1,wBuf,20);
    theApp.accel[1]=theApp.ReadDataChar(wBuf);
	
}

void CParaWndDlg::OnChangeAccelRh2() 
{
	// TODO: If this is a RICHEDIT control, the control will not
	// send this notification unless you override the CDialog::OnInitDialog()
	// function to send the EM_SETEVENTMASK message to the control
	// with the ENM_CHANGE flag ORed into the lParam mask.
	
	// TODO: Add your control notification handler code here
    unsigned short wBuf[32];
	int i,j,sign;
	GetDlgItemText(IDC_ACCEL_RH2,wBuf,20);
    theApp.accel[2]=theApp.ReadDataChar(wBuf);
	
}

void CParaWndDlg::OnChangeAccelRh3() 
{
	// TODO: If this is a RICHEDIT control, the control will not
	// send this notification unless you override the CDialog::OnInitDialog()
	// function to send the EM_SETEVENTMASK message to the control
	// with the ENM_CHANGE flag ORed into the lParam mask.
	
	// TODO: Add your control notification handler code here
    unsigned short wBuf[32];
	int i,j,sign;
	GetDlgItemText(IDC_ACCEL_RH3,wBuf,20);
    theApp.accel[3]=theApp.ReadDataChar(wBuf);
	
}

void CParaWndDlg::OnChangeAccelSl() 
{
	// TODO: If this is a RICHEDIT control, the control will not
	// send this notification unless you override the CDialog::OnInitDialog()
	// function to send the EM_SETEVENTMASK message to the control
	// with the ENM_CHANGE flag ORed into the lParam mask.
	
	// TODO: Add your control notification handler code here
    unsigned short wBuf[32];
	int i,j,sign;
	GetDlgItemText(IDC_ACCEL_SL,wBuf,20);
    theApp.accel[0]=theApp.ReadDataChar(wBuf);
}

void CParaWndDlg::OnChangeSlewRh1() 
{
	// TODO: If this is a RICHEDIT control, the control will not
	// send this notification unless you override the CDialog::OnInitDialog()
	// function to send the EM_SETEVENTMASK message to the control
	// with the ENM_CHANGE flag ORed into the lParam mask.
	
	// TODO: Add your control notification handler code here
    unsigned short wBuf[32];
	int i,j,sign;
	GetDlgItemText(IDC_SLEW_RH1,wBuf,20);
    theApp.slew[1]=theApp.ReadDataChar(wBuf);
	
}

void CParaWndDlg::OnChangeSlewRh2() 
{
	// TODO: If this is a RICHEDIT control, the control will not
	// send this notification unless you override the CDialog::OnInitDialog()
	// function to send the EM_SETEVENTMASK message to the control
	// with the ENM_CHANGE flag ORed into the lParam mask.
	
	// TODO: Add your control notification handler code here
    unsigned short wBuf[32];
	int i,j,sign;
	GetDlgItemText(IDC_SLEW_RH2,wBuf,20);
    theApp.slew[2]=theApp.ReadDataChar(wBuf);
	
}

void CParaWndDlg::OnChangeSlewRh3() 
{
	// TODO: If this is a RICHEDIT control, the control will not
	// send this notification unless you override the CDialog::OnInitDialog()
	// function to send the EM_SETEVENTMASK message to the control
	// with the ENM_CHANGE flag ORed into the lParam mask.
	
	// TODO: Add your control notification handler code here
    unsigned short wBuf[32];
	int i,j,sign;
	GetDlgItemText(IDC_SLEW_RH3,wBuf,20);
    theApp.slew[3]=theApp.ReadDataChar(wBuf);
	
}

void CParaWndDlg::OnChangeSlewSl() 
{
	// TODO: If this is a RICHEDIT control, the control will not
	// send this notification unless you override the CDialog::OnInitDialog()
	// function to send the EM_SETEVENTMASK message to the control
	// with the ENM_CHANGE flag ORed into the lParam mask.
	
	// TODO: Add your control notification handler code here
    unsigned short wBuf[32];
	int i,j,sign;
	GetDlgItemText(IDC_SLEW_SL,wBuf,20);
    theApp.slew[0]=theApp.ReadDataChar(wBuf);
}

void CParaWndDlg::OnChangeScaleRh1() 
{
	// TODO: If this is a RICHEDIT control, the control will not
	// send this notification unless you override the CDialog::OnInitDialog()
	// function to send the EM_SETEVENTMASK message to the control
	// with the ENM_CHANGE flag ORed into the lParam mask.
	
	// TODO: Add your control notification handler code here
    unsigned short wBuf[32];
	int i,j,sign;
	GetDlgItemText(IDC_SCALE_RH1,wBuf,20);
    theApp.scale[1]=theApp.ReadDataChar(wBuf);
	if(theApp.scale[1]>=1600) theApp.scale[1]=1600;
	if(theApp.scale[1]<=400) theApp.scale[1]=400;
	
}

void CParaWndDlg::OnChangeScaleRh2() 
{
	// TODO: If this is a RICHEDIT control, the control will not
	// send this notification unless you override the CDialog::OnInitDialog()
	// function to send the EM_SETEVENTMASK message to the control
	// with the ENM_CHANGE flag ORed into the lParam mask.
	
	// TODO: Add your control notification handler code here
    unsigned short wBuf[32];
	int i,j,sign;
	GetDlgItemText(IDC_SCALE_RH2,wBuf,20);
    theApp.scale[2]=theApp.ReadDataChar(wBuf);
	if(theApp.scale[2]>=1600) theApp.scale[2]=1600;
	if(theApp.scale[2]<=400) theApp.scale[2]=400;
	
}

void CParaWndDlg::OnChangeScaleRh3() 
{
	// TODO: If this is a RICHEDIT control, the control will not
	// send this notification unless you override the CDialog::OnInitDialog()
	// function to send the EM_SETEVENTMASK message to the control
	// with the ENM_CHANGE flag ORed into the lParam mask.
	
	// TODO: Add your control notification handler code here
    unsigned short wBuf[32];
	int i,j,sign;
	GetDlgItemText(IDC_SCALE_RH3,wBuf,20);
    theApp.scale[3]=theApp.ReadDataChar(wBuf);
	if(theApp.scale[3]>=1600) theApp.scale[3]=1600;
	if(theApp.scale[3]<=400)  theApp.scale[3]=400;
	
}

void CParaWndDlg::OnChangeScaleSl() 
{
	// TODO: If this is a RICHEDIT control, the control will not
	// send this notification unless you override the CDialog::OnInitDialog()
	// function to send the EM_SETEVENTMASK message to the control
	// with the ENM_CHANGE flag ORed into the lParam mask.
	
	// TODO: Add your control notification handler code here
    unsigned short wBuf[32];
	int i,j,sign;
	GetDlgItemText(IDC_SCALE_SL,wBuf,20);
    theApp.scale[0]=theApp.ReadDataChar(wBuf);
	if(theApp.scale[0]>=1150) theApp.scale[0]=1150;
	if(theApp.scale[0]<=850)  theApp.scale[0]=850;
	
}

void CParaWndDlg::OnChangeZeroRh1() 
{
	// TODO: If this is a RICHEDIT control, the control will not
	// send this notification unless you override the CDialog::OnInitDialog()
	// function to send the EM_SETEVENTMASK message to the control
	// with the ENM_CHANGE flag ORed into the lParam mask.
	
	// TODO: Add your control notification handler code here
    unsigned short wBuf[32];
	int i,j,sign;
	GetDlgItemText(IDC_ZERO_RH1,wBuf,20);
    theApp.zero[1]=theApp.ReadDataChar(wBuf);
}

void CParaWndDlg::OnChangeZeroRh2() 
{
	// TODO: If this is a RICHEDIT control, the control will not
	// send this notification unless you override the CDialog::OnInitDialog()
	// function to send the EM_SETEVENTMASK message to the control
	// with the ENM_CHANGE flag ORed into the lParam mask.
	
	// TODO: Add your control notification handler code here
    unsigned short wBuf[32];
	int i,j,sign;
	GetDlgItemText(IDC_ZERO_RH2,wBuf,20);
    theApp.zero[2]=theApp.ReadDataChar(wBuf);	
}

void CParaWndDlg::OnChangeZeroRh3() 
{
	// TODO: If this is a RICHEDIT control, the control will not
	// send this notification unless you override the CDialog::OnInitDialog()
	// function to send the EM_SETEVENTMASK message to the control
	// with the ENM_CHANGE flag ORed into the lParam mask.
	
	// TODO: Add your control notification handler code here
    unsigned short wBuf[32];
	int i,j,sign;
	GetDlgItemText(IDC_ZERO_RH3,wBuf,20);
    theApp.zero[3]=theApp.ReadDataChar(wBuf);	
}

void CParaWndDlg::OnChangeZeroSl() 
{
	// TODO: If this is a RICHEDIT control, the control will not
	// send this notification unless you override the CDialog::OnInitDialog()
	// function to send the EM_SETEVENTMASK message to the control
	// with the ENM_CHANGE flag ORed into the lParam mask.
	
	// TODO: Add your control notification handler code here
    unsigned short wBuf[32];

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -