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

📄 alm1.cpp

📁 机械手IPC控制器伺服运动程序
💻 CPP
字号:
// alm1.cpp : implementation file
//

#include "stdafx.h"
#include "alfa.h"
#include "alm1.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// Calm1 dialog


Calm1::Calm1(CWnd* pParent /*=NULL*/)
	: CDialog(Calm1::IDD, pParent)
{
	//{{AFX_DATA_INIT(Calm1)
		// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
}


void Calm1::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(Calm1)
//	DDX_Control(pDX, IDC_STATIC_ATMSG, m_automsg);
	DDX_Control(pDX, IDC_LIST2, m_list1);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(Calm1, CDialog)
	//{{AFX_MSG_MAP(Calm1)
	ON_WM_SHOWWINDOW()
//	ON_MESSAGE(WM_ATMSGALM, OnAtmsgAlm)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// Calm1 message handlers
void Calm1::OnAtmsgAlm()
{
//	CStatic *staticatmsg=(CStatic*)GetDlgItem(IDC_STATIC_ATMSG);
    int i, j=m_list1.GetCount();

	for(i=0; i<j; i++) m_list1.DeleteString(0);
    if((msgalm & 0x80000000)>0)	m_list1.AddString("xxxxx诀瘪も羥候

⌨️ 快捷键说明

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