Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched.
Close
Using the g_ClientManager you can list all the active clients and then get the ".rClientRect.ptBottomRight.iX" and ".rClientRect.ptBottomRight.iY" for each one from their VisuElems.VisuStructClientData structure.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Originally created by: Viacheslav Mezentsev
I need to know width and height in pixels for current display. How to do that?
In this post
Using the g_ClientManager you can list all the active clients and then get the ".rClientRect.ptBottomRight.iX" and ".rClientRect.ptBottomRight.iY" for each one from their VisuElems.VisuStructClientData structure.