Hi! I'm trying to position my buttons on the screen based on the 1) video resolution and 2) the size of the window (maximized, etc).
I wanted to have four buttons on the bottom half of the screen. Two centered on the left side and two centered on the right.
I understand how to draw the buttons with "hard coded" coordinates, but I don't even know where/how to begin to draw them any other way.
01) How do I get the CURRENT resolution setting?
02) How do I detect the current size of the client area?
03) How do I cram this information into my button creation command? I assume it's a formula, but how do you calculate the position of something for a small area of the screen?