一个典型的vc++智能电表校表软件应用程序源码
some code here:
switch (wParam)
{
case NM_OB_ITEMCLICK:
// cast the lParam to an integer to get the clicked item
{
int index = (int) lParam;
CString cs, cs1;
cs1 = wndBar.GetItemText(index);
cs.Format("Clicked on %d - <%s>", (int)lParam, cs1);
// AfxMessageBox(cs);
// AfxMessageBox(cs1);
if (cs1=="允许校表")
{
yu_allowxb();
}
if (cs1=="清校表数据")
{
yu_clearmeter();
}
if (cs1=="禁止校表")
{
yu_noxb();
}
2022-06-13 23:20:13
7.88MB
vc校表
1