请教:Wincc画面窗口调用时的显示问题
1个回答
展开全部
片没上载成功,
图标的鼠标点击代码:
#pragma option(mbcs)
OpenPicturewindowoffset(lpszPictureName,lpszObjectName,"画面窗口1","test_con1.Pdl",0,0);
SetPictureName ("test_con1.Pdl", "画面窗口1", "con1.Pdl");
SetVisible("test_con1.Pdl","画面窗口1",1);
//SetPropChar ("test_con1.Pdl", "画面窗口1", "Tagprefix", "no1."); //Return-Type: BOOL
//SetPictureName ("test_con1.Pdl", "画面窗口1", "con1.Pdl");
SetPropChar("test_con1.Pdl","画面窗口1","CaptionText","1#设备");
图标的鼠标点击代码:
#pragma option(mbcs)
OpenPicturewindowoffset(lpszPictureName,lpszObjectName,"画面窗口1","test_con1.Pdl",0,0);
SetPictureName ("test_con1.Pdl", "画面窗口1", "con1.Pdl");
SetVisible("test_con1.Pdl","画面窗口1",1);
//SetPropChar ("test_con1.Pdl", "画面窗口1", "Tagprefix", "no1."); //Return-Type: BOOL
//SetPictureName ("test_con1.Pdl", "画面窗口1", "con1.Pdl");
SetPropChar("test_con1.Pdl","画面窗口1","CaptionText","1#设备");
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询