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

How to know screen size?

Anonymous
2017-10-27
2017-10-30
  • Anonymous - 2017-10-27

    Originally created by: Viacheslav Mezentsev

    I need to know width and height in pixels for current display. How to do that?

     
  • pedro-ant - 2017-10-30

    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.

     

Log in to post a comment.