I am attempting to set up an HMI using Citect V6 on a PC with 2 monitors. I am using a primary citect project to display the main system control pages on monitor 1 and an included project with pages displayed on monitor 2.
My main project starts with the display of a splash screen (on monitor 1) and after initialisation I create a new window using
WinNewAt("UserID", 0, 0, 16);
which subsequently uses
PageDisplay("Other_Page");
as required.
The monitor 2 window is also set up after initialisation using
WinNewAt("Second_Monitor", 0, 0, 16);
WinPos(1024, 0);
I need to use WinPos() as WinNewAt() will not position the window where I want it?
However, my main problem is, when I execute a Login() instruction in the main project, the window on the 2nd monitor is repositioned on the first (behind the window displayed there).
Is there any way to stop this happening other than to continually check the position of the 2nd window monitor page (using the Page Event - "While page shown") and reposition it when it moves?
Iain
My main project starts with the display of a splash screen (on monitor 1) and after initialisation I create a new window using
WinNewAt("UserID", 0, 0, 16);
which subsequently uses
PageDisplay("Other_Page");
as required.
The monitor 2 window is also set up after initialisation using
WinNewAt("Second_Monitor", 0, 0, 16);
WinPos(1024, 0);
I need to use WinPos() as WinNewAt() will not position the window where I want it?
However, my main problem is, when I execute a Login() instruction in the main project, the window on the 2nd monitor is repositioned on the first (behind the window displayed there).
Is there any way to stop this happening other than to continually check the position of the 2nd window monitor page (using the Page Event - "While page shown") and reposition it when it moves?
Iain