Applies To:
  • CitectSCADA 5.xx, 6.00, 6.00 Service Pack A
  • CitectHMI 5.xx, 6.00, 6.00 Service Pack A

This occurs when [Page]DynamicSizing=0 and the new window’s coordinates means that any part of the new window will be displayed off-screen (outside the monitor’s screen area). Is there any way to have new windows displayed at the correct coordinates (i.e. those supplied with the WinNewAt() function)?

This problem is cause by the default behaviour implemented when [Page]DynamicSizing=0, which is to automatically maximise a newly created window. This causes the window position to reset to (0,0) when the current position is fully or partially off-screen.

As of version 6.10, you can set [Page]MaximiseOnCreation to 0 and new windows will not be maximised, meaning they will be displayed at the intended coordinates.

Note that WinNewAt can successfully display windows at negative coordinates as well as coordinates fully or partially off-screen. 

origin window zero reset winnew top left