show the entry list
OS - WinCC -- Creating HMI configurations -- Configuring picture changes
What should you watch out for in particular with the "Loop in Alarm" function?
Closing images that the wizard has created upon image change
How can I dynamically adapt the size of the @Top display when I call a picture with the SSMOpenTopField function?
How can you have the current picture continued to be shown when you log out of WinCC Runtime?
What options are there for configuring a picture change between two or more servers and the MultiClient (MC)?
How can you display/hide a layer depending on a variable?
Closing images that the wizard has created upon image change
Part number:

QUESTION:
Why is it that only the faceplates close upon image change and not the images that have been configured with the wizard?

ANSWER:
Use the following C function for the image change in your project. You can use it to change the described behavior.

#include "apdefap.h"
void OnLButtonDown(char* lpszPictureName, char* lpszObjectName, char* lpszPropertyName, UINT nFlags, int x, int y)
{
#pragma code("ssmrt.dll")
#include "ssmrt.h"
#pragma code()
CMN_ERROR Err;
char szReturnPath[_MAX_PATH] = "";
SSMRTOpenTopField2 (SSMGetScreen(lpszPictureName),"USER.PDL", TOP_ATTACHTOWORKFIELD, szReturnPath, sizeof(szReturnPath), &Err) != FALSE;
}

 

 Entry ID:831864   Date:1999-04-28 
I regard this article....as helpfulas not helpful                                 
mySupport
My Documentation Manager 
Newsletter 
CAx-Download-Manager 
Support Request
To this entry
Print
Create PDF 
Send to a friend
QuickLinks
Compatibility tool 
Help
Online Help
Guided Tour