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;
- }
|