Stuck on a little problematic issue. I am creating a GUI in C ++ using XP and VS C ++ using the CreateWindow () command.
My question is: how to make the inner area, painted with paint, an ideal area. When passing in the size of the created window, some of them are subtracted for the menu bar at the top, borders around, etc. Are there any real-time variables that I can pass, for example. to create a window 500x500 will be:
...500+BORDER,500+MENU_TOP+BORDER...
Thank you all
source
share