A less arbitrary way? - yes, in an ideal world.
By now you've probably found that you also need to adjust for the window borders for width, depending on what you're doing.
Have yoou got all the SystemMetrics info/flags you need?
By now you've probably found that you also need to adjust for the window borders for width, depending on what you're doing.
Have yoou got all the SystemMetrics info/flags you need?