How to programmatically determine the height of the client area of the application window from the lower border of the toolbar to the upper border of

  • Thread starter Thread starter Purple_Apple
  • Start date Start date
P

Purple_Apple

Guest
Hello everybody. I am writing a C++ Win32 application on Visual C++. I'm using Microsoft Visual Studio 2017 Community. When my application starts, its window appears on the screen. At the top of the window of my application is a toolbar whose width is equal to the width of the application window. And at the bottom there is a statusbar, the width of which is also equal to the width of the application window. In general, my application has a standard window. I have the following question. How to programmatically determine the height of the client area of the application window from the lower border of the toolbar to the upper border of the statusbar? That is, to determine the height of the client area located between the toolbar above and the statusbar below? Of course, programmatically, using the Win 32 API functions to determine the height of the client area.

Thank you in advance for your reply.

Continue reading...
 
Back
Top