11/19/2014 10:15 AM | |
Joined: 3/14/2008 Last visit: 9/4/2024 Posts: 2094 Rating:
|
Hello guys, I'm in need of the monitor number where a picture is opened. The function requires me to open a faceplate on monitor number 1. (client, so 4 monitors total). It doesn't matter which picture it is, as long as the faceplate opens only on monitor 1. The faceplate is important for the process and it used to be at the @screen picture, however the @screen gets overwritten by installing updates and such and is not reliable. So now on all process screens I want to put the faceplate and when it is called, it should only open on monitor number 1. I did a search and see that standard c-script action: SSMGetScreen uses a char named: cMonitor. I would like to use that variable, but when calling SSMGetScreen, the only variable is lpszPictureName. This is because TCHAR is a static variable of cMonitor. Anyways, is there a function which will get the monitor number?? EDIT: In @1001.pdl there are objects @TOP05, @TOP06 etc.. I think these are the monitor screens. Maybe there is a function were you can get the screenname which is opened in the @TOP05 window and then used to show the faceplate in? I have no idea how EDIT2: Well, I found out after a day or trying... Using GetScreen and instead of lpszPictureName, I use a variable of char type in which the internal tag: @ActualPicture1 is stored. That way, the picture always opens on the actual picture on monitor 1 |
Last edited by: Oreca at: 11/19/2014 2:37 PMLast edited by: Oreca at: 11/19/2014 11:27 AMIf I could help you, you can use the RATE button. Thank you. |
|
Follow us on