#include “apdefap.h”
void OnClick(char* lpszPictureName, char* lpszObjectName, char* lpszPropertyName)
{
#pragma option(mbcs)
HWND hwnd=NULL;
int iRet=0;
hwnd=FindWindow(NULL,“Wincc-runtime-”);
iRet=MessageBox(hwnd,GetLinkedVariable(lpszPictureName,lpszObjectName,“Index”),“wincc”,MB_OKCANCEL);
SetTagChar("@FPH_ObjectSel",GetLinkedVariable(lpszPictureName,lpszObjectName,“Index”));
}