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.